If you’ve ever done any programming you’ve probably had to deal with I/O (Input/Output) at some point. Read a file, open a url, open a database connection. It’s inevitable that you interact with other systems via I/O in some way or another if you want to achieve something useful. I’ve recently been trying to nail … Continue reading Oh JavaFX, why, why, why?
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
My apologies for not posting lately. I’ve been “crunching” to get things finished and some personal, real-life stuff has been getting in the way. For instance my air-conditioning broke a couple of weeks ago and we visited Melbourne for a few days, my wife has been ill and my son is due to have a … Continue reading QWv3 – Dev blog 22
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
It’s that time again! So I’m now back up to full speed on development. The long detour around Cape RichTextFX is pretty much over and I’ve been able to focus on other things. Simple stuff first. Selecting a font for the UI While, eventually, a user will be able to pick a stylesheet (or multiple … Continue reading QWv3 – Dev blog 21
Way back in April I complained that the JavaFX TreeView was designed in a strange and overly convoluted way because it made use of a VirtualFlow. It seemed bizarre to me (and still does) that you would be forced to constantly recreate cells rather than create them once and lay them out as needed. My … Continue reading JavaFX TreeView, I was right
My apologies for the delay in posting. The move to using RichTextFX has been a long and tortuous adventure. RichTextFX is a great component but it only provides the “ability” to do certain things. I’ve had to actually implement end-user features that make use of these abilities. I’ve also had to push RichTextFX far past … Continue reading QWv3 – Dev blog 20