Tektosyne 6.3 for Swing Released

Tektosyne 6.3.0 is now available for download. This is an unusual release as there are no functional changes whatsoever to the core library. Instead, the GUI demo application has been entirely rewritten, motivated of course by the recent removal of JavaFX from Oracle’s Java SE distributions. Here’s an overview of the changes. You can find … Continue reading “Tektosyne 6.3 for Swing Released”

Swing High DPI Properties

When Java AWT/Swing got JavaFX-style automatic high DPI scaling in Java SE 9, there were also several new system properties to control that scaling. Unfortunately, as with the various glass.win.* properties of JavaFX (see e.g. here) they are not officially documented. You need to check the developer mailing list and the JDK test sources to … Continue reading “Swing High DPI Properties”

Minimum Size Scaling for Swing Windows

Since Java SE 9, Java AWT/Swing has supported automatic high DPI scaling on Windows and Linux, just like JavaFX. Ironically, this came with a bug that JavaFX used to have until Java 9: Window.setMinimumSize fails to scale the specified width and height on high DPI systems. (Unlike JavaFX, AWT/Swing windows ignore setMaximumSize anyway. Non-window components … Continue reading “Minimum Size Scaling for Swing Windows”

MIME Browser 2 for Swing Released

Version 2.0 of MIME Browser, my free EML message viewer, is now available for download. The big change is the one motivated by the removal of JavaFX from Oracle’s Java SE distributions: MIME Browser is now based on Java AWT/Swing rather than JavaFX. The user interface has become somewhat uglier as a result (below is … Continue reading “MIME Browser 2 for Swing Released”

DPI Scaling for CSSBox

Radek Burget’s CSSBox is an (X)HTML/CSS rendering engine written in pure Java with AWT/Swing display output. While it doesn’t support JavaScript, it does support modern HTML/CSS and is also tolerant of any content it doesn’t understand. This makes CSSBox a good replacement for the standard JEditorPane which is limited to HTML 3.2 with some extensions, … Continue reading “DPI Scaling for CSSBox”

Glyph Positioning in JFreeSVG & OrsonPDF

Object Refinery Ltd. makes two small but extremely useful Java libraries for producing vector graphics. JFreeSVG (free & commercial) supports Scalable Vector Graphics (SVG) and HTML5 Canvas output, and OrsonPDF (commercial with free demo) supports Adobe PDF output. Each provides a custom implementation of java.awt.Graphics2D, the 2D drawing surface for the Java AWT graphics library. … Continue reading “Glyph Positioning in JFreeSVG & OrsonPDF”

yWorks yEd & UML Doclet

The core products of yWorks are the yFiles libraries for Java, .NET, and JavaScript which handle graph analysis, layout, and visualization. The libraries are enterprise-priced (thousands of dollars) but yWorks also offers some very interesting free tools. Aside from the yGuard bytecode obfuscator, these are all diagramming applications based on yFiles. yEd Graph Editor The … Continue reading “yWorks yEd & UML Doclet”