JavaFX Properties

­
1 02, 2017

JavaFX Tip 24: Custom Layouts for Performance and Flexibility

By |February 1st, 2017|CalendarFX, Java, JavaFX, Tips & Tricks|0 Comments

I just finished a two month sprint on advancing CalendarFX and getting it ready for release 8.4.0. One focus of this sprint was on performance. There are many things that can influence performance but when it comes to JavaFX the number of nodes in your scenegraph and CSS styling are top candidates for optimisation. After reviewing the custom controls [...]

30 03, 2016

JavaFX Tip 23: Save Memory! Shadow Fields for Properties.

By |March 30th, 2016|Java, JavaFX, Tips & Tricks|21 Comments

Properties and property bindings introduced in Java 8 are extremely useful programming concepts. They are especially useful when you are developing user interfaces. In fact they are so useful that developers have fallen victim to the idea that everything should be a property instead of a primitive. Unfortunately they easily forget that properties such as SimpleLongProperty are much [...]