WebView, the other JavaFX UI

Aside from its native UI facilities, JavaFX provides a WebView that’s a fully-featured embedded HTML5 browser. The underlying WebEngine is a modified Webkit engine which comes as part of the freely available JavaFX source code. For JavaFX 2.2.4 (part of Java SE 7), Oracle offered a separate download. This code was based on Webkit 535.21, … Continue reading “WebView, the other JavaFX UI”

Windows 8.1: Much Ado About Nothing

Yesterday Microsoft released Windows 8.1 as a free update for Windows 8. I dutifully updated but found it barely worth the effort. Endlessly hyped as the fixed version of Windows 8, the one that would finally realize the original vision and convince desktop users of its brilliance, Windows 8.1 is in fact nothing of the … Continue reading “Windows 8.1: Much Ado About Nothing”

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”

Windows 8.1 DPI Scaling Promises

Important: Windows 8.1 may cause blurry display — Many users are seeing strangely blurry applications after updating to Windows 8.1. There are two possible reasons. First, Windows 8.1 has removed the option to force XP style scaling above 120 DPI (125%), so if you were using that option all your non-DPI-aware programs are now forced … Continue reading “Windows 8.1 DPI Scaling Promises”

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”

Bug in Windows 8 Display Scaling UI

Veteran game designer Raph Koster wrote an epic post about his experience with a new Windows 8 tablet. His first sentence says it all: “Oh boy, are there teething pains.” You should certainly read the whole thing if you’re thinking about buying such a device. Raph’s is a Samsung ATIV Smart PC Pro 700T which … Continue reading “Bug in Windows 8 Display Scaling UI”

Fixing Windows Programming

Microsoft’s transition from the open Win32 desktop to the closed WinRT app store will alienate many Windows developers… but maybe that’s a good thing. Today I found yet another commercial Windows application – Postbox, an e-mail client from the original Thunderbird team – that’s completely oblivious to high DPI mode. Random GUI elements are hardcoded … Continue reading “Fixing Windows Programming”