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

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

ShichimiFX – Yet another JavaFX utils lib

ShichimiFX is a small lib containing helper/util classes extracted from my other projects which I commonly need. The lib will be extended if it turns out that I need a util class in more than one project… (Shichimi is my favorite Japanese spice mixture) And yes it also yet another utils lib containing (among others):… Continue Reading ShichimiFX – Yet another JavaFX utils lib

WordPress › Error

There has been a critical error on this website.

Learn more about troubleshooting WordPress.