3DViewer: Better 3D for JavaFX

JavaFX has long had basic 3D capabilities, although you might not guess it as some outdated package descriptions still only speak of “two-dimensional geometry.” Oracle offers an online tutorial for JavaFX 3D, and JavaFX by Example devotes a chapter to it. Here’s a brief overview: Package javafx.geometry defines a 3D bounding box and a fairly … Continue reading “3DViewer: Better 3D for JavaFX”

CSS Guide & JavaFX Examples

CSS: The Definitive Guide — Eric A. Meyer & Estelle Weyl, O’Reilly 2017 (4th ed.), ISBN 978-1-449-39319-9 The long expected update to a classic last revised in 2006, this massive tome is certainly definitive in size and detail. More than a thousand pages cover every esoteric wrinkle of CSS anyone might possibly want to know … Continue reading “CSS Guide & JavaFX Examples”

JavaFX decoupled from Java SE 11

Three weeks ago, Oracle’s Donald Smith announced that JavaFX will be decoupled from Oracle’s own Java distributions starting with Java SE 11 (expected this fall). This is reflected in the updated Java Client Road Map which also notes that Swing and AWT will continue to be part of Java SE, “supported by Oracle through at … Continue reading “JavaFX decoupled from Java SE 11”

Windows GUI DPI Scaling in 2018

I have updated the article DPI Scaling in Windows GUIs with a modified test suite and new sets of screenshots for Windows 10 Creators Update, Microsoft .NET Framework 4.7.1, and Oracle Java SE 9.0.4. The focus of this update was of course Java 9 as JavaFX ceased special-casing 120 DPI, and AWT/Swing even got full … Continue reading “Windows GUI DPI Scaling in 2018”

Class Diagrammer 2.2.0 Released

I intended to summarize the ongoing Java SE 9 updates of my open-source projects in Moving Projects to Java 9. However, Class Diagrammer 2.2.0 accumulated enough changes to merit a dedicated release post. You can find a summary in the What’s New file. New Leading Option First off, a couple of days ago I discovered … Continue reading “Class Diagrammer 2.2.0 Released”

Moving Projects to Java 9

Today I’m starting to move my open-source projects to Java SE 9. I’ve covered the various significant changes in that release in four previous posts: Java SE 9 First Look Java 9 Incompatibilities JavaFX DPI Scaling in Java 9 JavaFX Spinner for Numbers (updated) As described there, some unexpected factors came up that turned the … Continue reading “Moving Projects to Java 9”

JavaFX DPI Scaling in Java 9

While porting my projects to Java SE 9 I noticed that the JavaFX team has slipped in some small but important changes concerning DPI scaling that appear to be only documented in the Java bug database, specifically JDK Bug 8091832. The entry for 2016-03-31 notes that the startup flag -Dglass.win.minHiDPI, defining the minimum display DPI … Continue reading “JavaFX DPI Scaling in Java 9”

Java 9 Incompatibilities

Last year I took a quick look at the newly released Java SE 9 but wanted to delay updating until the corresponding NetBeans version was out. Nothing happened, so that’s the first incompatibility to discuss, followed by JavaMail and JavaFX issues. NetBeans MIA(pache) After four months NetBeans is still in Apache incubator limbo with no … Continue reading “Java 9 Incompatibilities”

Myriarch for Java

Myriarch Combat Simulator is now available in an enhanced Java version, with a JavaFX user interface. I removed the download of the original .NET version as it was fairly rudimentary; I had already planned moving to Java at the time and so didn’t bother properly finishing that version. Overview Myriarch attempts a precise real-time simulation … Continue reading “Myriarch for Java”

JavaFX Chart Coloring

Working on a Java(FX) port of my hoplite simulator Myriarch, I ran into an unexpected problem with the history chart. This part of the “Simulation Report” dialog shows how each faction’s unit count changes over the course of the simulation. You can see a screenshot from the current build below. The control is a standard … Continue reading “JavaFX Chart Coloring”