JavaFX beware of spaces in style classes

So here’s a trap I got caught out by today. When adding a style class to a JavaFX Node you would do the following: However, JavaFX, when it is looking to apply styles, treats each entry in the style class list as being its own style class. In short, will produce different results to: JavaFX … Continue reading JavaFX beware of spaces in style classes

Using a JavaFX WebView to display basic HTML content

A common requirement in modern User Interfaces is to display basic Rich Text/HTML descriptive content to the user. For example you might want to bold part of a piece of text to highlight something for the user or maybe display a bulleted list of items. Unfortunately, unlike Java Swing, standard JavaFX text components (TextField and … Continue reading Using a JavaFX WebView to display basic HTML content

Why I’m returning to University, 25 years later

One thing I constantly complain about to my long suffering wife, is “other people’s code”. I’m not alone in this, every programmer complains about all code that is not written by them. Your own code works, other people’s doesn’t, or is difficult to use, or is weirdly written or isn’t documented or one of 500 … Continue reading Why I’m returning to University, 25 years later