JavaFX ListView Sizing

JavaFX supports automatic self-adjusting layout that resizes controls along with the containing window, but this may require some non-obvious changes to the controls’ default properties. The problem I recently ran into was automatically resizing a ListView within a VBox. This article describes the undesirable default behavior and its correction, based on JavaFX 2.2 in JDK … Continue reading “JavaFX ListView Sizing”

JavaFX on iOS & Android?

JavaFX does not currently support iOS or Android, but the possibility has been subject to much hopeful speculation. One recent example is Felix Bembrick’s manifesto Six Degrees of Separation. What strikes me as odd is that people still seem to expect Oracle to deliver such ports. True, there was an announcement regarding open-sourcing “JavaFX on … Continue reading “JavaFX on iOS & Android?”

JavaFX DPI Scaling

Important (2015-06-30): Starting with Java 8u60, JavaFX provides WPF-like DPI scaling on Windows by implicitly scaling all coordinates and image sizes to the current system DPI setting. So the manual scaling workaround described below is now only required for previous versions. The original post follows but now applies only to Java 8u45 and older. End … Continue reading “JavaFX DPI Scaling”

MIME Browser 1.1 Released

Version 1.1 of MIME Browser, my free multi-platform EML viewer written in JavaFX, is now available for download. This release adds the promised search feature. You can filter the message list by an arbitrary search term which is matched against file names and/or textual file contents. Other enhancements and fixes include: Combine multiple subdirectory levels … Continue reading “MIME Browser 1.1 Released”

MIME Browser Released

As I threatened after my unsuccessful Quest for EML Viewers, I wrote my own little cross-platform viewer in JavaFX. I called it “MIME Browser” as that’s the only generically obvious name that wasn’t taken yet. You can find more information and download both a precompiled executable and the complete source code at the new project … Continue reading “MIME Browser Released”

Amazing NetBeans JAR Vanishing Act

Today I encountered a bizarre and obscure misbehavior of NetBeans 7.3.1 that you should be aware of when writing JavaFX applications. The situation: I wanted to add some text files to a JavaFX project that should be copied to the output folder at every build. The NetBeans way to do this is to add a … Continue reading “Amazing NetBeans JAR Vanishing Act”

Comparison of DPI Scaling in GUI Frameworks

My new article DPI Scaling in Windows GUIs illustrates how four popular Windows GUI frameworks deal with High DPI Settings in Windows. The candidates include: Windows Presentation Foundation (WPF) – scales automatically and perfectly Windows Forms – can match WPF with some effort, but can also fail spectacularly JavaFX – scales well, unless using explicit … Continue reading “Comparison of DPI Scaling in GUI Frameworks”

Myriarch Implementation Notes

As there is currently no proper PDF manual for Myriarch, here are some noteworthy implementation details. This post originally covered the .NET version (released 09/2012) but has been revised for the new Java version (released 06/2017). Unit Orders The core simulation uses the QuadTree class of my Tektosyne library to locate units and their neighbors. … Continue reading “Myriarch Implementation Notes”