Drag and Drop without HTML5

I gave up on HTML5 drag and drop! A step I should have made a long time ago. Even though I read some reports of people struggling with it (like the HTML5 drag and drop disaster article) I thought I could takle it and make it work for the most...

Read more →


Update to JavaFX 8 - What's New?

JavaFX 8 is included in JDK 8 and is the officially recommended graphics toolkit for Java 8 applications. I've been using JavaFX 2 since 2012 and am very pleased as it was already a major step forward compared to Swing. Now with JavaFX 8 it has become even better, with...

Read more →


JavaFX 8 Event Handling Examples

In most JavaFX applications we have to react to many user events: The user clicks a button, presses a key, moves the mouse, etc. This post describes how to handle some of the most common JavaFX events. Our Example Application Download Example Example Source Code FXML and Event Handling I like to keep the...

Read more →


JavaFX 8 TableView Cell Renderer

In this post I will show how to customize the rendering of a JavaFX TableView. This is an updated version of the JavaFX 2 TableView Cell Renderer article. Compared to the old version, we can now use some Java 8 language features like lambda expressions and the new Date and...

Read more →


JavaFX 8 TableView Sorting and Filtering

JavaFX 8 comes with two new classes, SortedList and FilteredList. In JavaFX 2 we had to manually do the filtering as I've described in an earlier post. So, let's see how we can use the new classes to sort and filter a TableView. Example Setup As an example we'll create a simple table...

Read more →


— Blog Archive —