jeudi 17 novembre 2011

Extend an existing UI component in JavaFX 2.0

Last year, I coded a custom component on JavaFX 1.x, then naturally I wished to rewrite it on JavaFX 2.0.
To do this, i tried different solutions,  like creating to a totally new component with this method
But, it isn't a great solution when you want to customize or to enhance an existing component, like I want to do.
To rewrite my custom component, I chose to extend an existing control (TextField in my case) and its skin, because you cannot add content directly in the control but you can do that in its skin.

jeudi 4 août 2011

A very simple example using FXML (JavaFX 2.0 b37)

update August 05, 2011: cleaner code and runs in b38.
This example is a very simple JavaFX application using FXML. It could certainly be improved, but it's just enough to begin to play.

vendredi 22 juillet 2011

mercredi 22 juin 2011

Droid Anim – Android 3.0

When I wanted to try JavaFX 1.x and more particularly the animations, I wrote Duke Anim, and Duke Anim in JavaFX 1.3.
So when I wanted to try the new animation API in Android 3.0, I wrote Droid Anim.

mercredi 9 février 2011

JavaFX 2.0 Early Access and Beta Program

JavaFX 2.0 Early Access is available for the JavaFX Partners, the JUG Leaders, and the Java Champions.
I'm not a JavaFX Partner, nor a JUG Leader or a Java Champion (even with my last name ;) ), but in the form to sign up to participate in the Early Access and Beta program there is an item "Other".

So, because i'm a JavaFX enthusiast, I signed up as "Other" …
And may be, with a little luck, I could have an access to the Early Access and Beta Program !