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

Poor mans input constraints

For me the best way to prevent the user from annoying errors and error messages is simply in the first line to try not to allow the user e.g. to enter invalid data or to execute actions while data in incomplete (disabled buttons/menu entries). If only numbers allowed in an input field I think its… Continue Reading Poor mans input constraints

JavaFX on Raspberry Pi: GPIO Controller (Part1)

I have started a new leisure time project with my Raspberry Pi. Target: control the outside lighting around my house (yes, magic words these days: HOME AUTOMATION). But let’s see how far I will get ;-). Until now I created a very simple JavaFX UI to control and test the 8 GPIO-out pin states: But… Continue Reading JavaFX on Raspberry Pi: GPIO Controller (Part1)

First steps with JavaFX

This tutorial will introduce Clean separation of application UI and logic Using Builders supporting Fluent API Effects Layouts Property Bindings EventHandler Abstract The Golden Ratio (Golden Mean, Golden Section) is defined as φ = (√5 + 1) / 2. Objective Create an UI to find the golden section by using a slider. Add value labels and an indicator to get… Continue Reading First steps with JavaFX