/ Category / JavaFX

invokeAndWait for JavaFX

2013/01/01 - 21:55 in DataFX, General, JavaFX

Swing offers the two methods SwingUtilities.invokeAndWait(...) and SwingUtilities.invokeLater(...) to execute a Runnable object on Swings event dispatching thread. You can read more about this methods here. As I currently know JavaFX provides only Platform.runLater(...)…

BindableTransition

2012/12/31 - 17:10 in General, JavaFX

JavaFX supports a lot of transition and animation classes for Node properties like the javafx.animation.ScaleTransition. But sometimes you need a special…

GridFX on Raspberry Pi & JavaFX 8

2012/12/29 - 01:26 in IoT, JavaFX

For my first JFX demo I tried to create a experimental GridFX version for JavaFX 8. As I mentioned in an earlier post there are some API changed between…

My first steps with JavaFX on Raspberry Pi

2012/12/28 - 23:07 in DataFX, IoT, JavaFX

Today I started playing with my Pi & JavaFX. Even after a few hours I can say that this stuff really rocks! I created a screensaver as a first demo. The programm loads random pictures (2848 × 4288 pixel) and animates them on the screen: http://www.youtube.com/watch?v=r0GEm1pEhoE…

GridFX supports CSS

2012/12/03 - 00:34 in JavaFX

I added CSS support to GridFX. There are five properties that can be styled by CSS at the moment: -fx-vertical-cell-spacing: vertical spacing between two cells (double) -fx-horizontal-cell-spacing: horizontal spacing between two cells (double) -fx-cell-height:…

GridFX is moving forward

2012/11/29 - 23:35 in JavaFX

Since a few minutes GridFX is official part of JFXtras. I will remove all sources from the old github repository in a little while. Thanks to everyone who helped me to go this way. So if you want to try GridFX just check out JFXtras here or wait for the next…

Custom UI Controls with JavaFX (Part 2)

2012/11/29 - 00:09 in JavaFX

I started a series of JavaFX tutorials last week. In this second part I will explain how to layout custom controls and measure their bounds. Like in my last post I will try to show the differences and benefits of JavaFX compared to Swing. Floating Point Bounds…

Maven support for DataFX

2012/11/25 - 14:32 in DataFX, JavaFX

At Devoxx I met Johan Vos and we talked about DataFX and Maven support. Now two weeks later we released DataFX 1.0 with Maven support and I am a official contributor of this great project. Thanks to Johan and Jonathan! With this post I will give a short "Getting…

gridfx & pagination

2012/11/21 - 23:59 in JavaFX

The gridfx component has currently one big problem. For every item inside the model a new cell is created inside the scene graph. So if you have 100.000 items in the item list of a the grid it will contain 100.000 cells. If every cell contains 4 nodes the…

Custom UI Controls with JavaFX – Part 1

2012/11/17 - 18:41 in JavaFX

One thing I often done is Swing was customization of components and the creation of new components types. One example for this is the JGrid. Since JavaFX was out I wanted to port the JGrid to it. After some experiments and bad prototyps I think I found the…