Button of Choice: Use ToggleButtons as RadioButtons

For MQTT.fx I wanted to use ToggleButtons to e.g. choose the de coding of a MQTT Message or the QoS Level:   I found out that in context of a ToggleGroup ToggleButtons behave different than RadioButtons in terms of selection/deselection: unlike RadioButtons ToggleButtons can still be set to unselected state.   A RadioButton extends ToggleButton and overrides fire() (which is… Continue Reading Button of Choice: Use ToggleButtons as RadioButtons

Ordering via SortedList (and Properties Extractor)

Quite a while ago (almost 1,5 years 😱) I wrote a post about the JavaFX way to get ListViews and TableViews instantly updated on model data change: using Properties Extractor pattern. TableColumns have a build-in support for sorting the data per column: just double-click the column header (. But how to order ListViews or get… Continue Reading Ordering via SortedList (and Properties Extractor)

How to allow users to customize the UI

Idea Take advantage of the declarative design pattern of JavafX/FXML and allow users to customize a certain view without any coding just by opening it with e.g. SceneBuilder to re-arrange the layout or add new controls or even change the style according to the users needs. The FXML file + CSS can be basically be… Continue Reading How to allow users to customize the UI

ShichimiFX 1.0.5 released

I have released ShichimiFX 1.0.5. Get more info and the code from my ShichimiFX Bitbucket Repo Maven <dependency> <groupId>de.jensd</groupId> <artifactId>shichimifx</artifactId> <version>1.0.5</version> </dependency> UI for Refuel This release contains a Frontend for Refuel an application update API written by Dino Tsoumakis which is used with MQTT.fx 0.0.13.

ShichimiFX 1.0.4 released

I have released ShichimiFX 1.0.4. Get the code from my ShichimiFX Bitbucket Repo Maven <dependency> <groupId>de.jensd</groupId> <artifactId>shichimifx</artifactId> <version>1.0.4</version> </dependency> This release contains 2 new utility classes I needed for MQTT.fx‘s script editing function Desktop and Shell. By now I used to open a script for editing with the system default editor via java.awt.Desktop. So far… Continue Reading ShichimiFX 1.0.4 released

ShichimiFX 1.0.3 released

I have released ShichimiFX 1.0.3. Get the code from my ShichimiFX Bitbucket Repo Maven <dependency> <groupId>de.jensd</groupId> <artifactId>shichimifx</artifactId> <version>1.0.3</version> </dependency> This release mostly focuses on the ConsoleStream. I have fixed some performance issues. Also optionally now an alternate stream can be given, e.g. to pass through System.out. This is used for displaying the logging stream in… Continue Reading ShichimiFX 1.0.3 released

ShichimiFX 1.0.1 released

I have added extracted some more classes from my application projects (e.g. from MQTT.fx) and added them as new features to ShichimiFX (and released 1.0.1). Get the code from my ShichimiFX Bitbucket Repo Maven <dependency> <groupId>de.jensd</groupId> <artifactId>shichimifx</artifactId> <version>1.0.1</version> </dependency> AnimationDude Provides support for Fade-in/Fade-out-Transition of controls: AnimationDude.addInOutFadeTransition(Duration duration, Node node) AnimationDude.addInOutFadeTransition(Duration duration, Node nodeToFade, Node… Continue Reading ShichimiFX 1.0.1 released

Properties Extractor: Best way to get the ListView instantly updating its elements

This post is about how to deal with JavaFX ListViews and TableViews and how these controls are getting informed about changed content of the contained elements. I wonder why I didn’t find anything about the following pattern in the relevant books as this is a really crucial mechanism. Many posts out there suggest to force… Continue Reading Properties Extractor: Best way to get the ListView instantly updating its elements


Warning: Use of undefined constant XML - assumed 'XML' (this will throw an Error in a future version of PHP) in /homepages/15/d19674497/htdocs/jensd.de/wordpress/wp-content/plugins/wp-syntaxhighlighter/wp-syntaxhighlighter.php on line 1048