JFXtras 0.5 Release Announcement
steveonjava | June 22, 2009I am pleased to announce the 0.5 release of JFXtras. This release updates the project with JavaFX 1.2 support, plus includes a major overhaul of the Shapes, Borders, and Layouts.
You can grab the latest bits here:
http://code.google.com/p/jfxtras/downloads/list
And browse the Javadoc online.
Pure JavaFX Shapes
Why should you care that we spent months re-implementing all the Shapes from scratch in pure JavaFX code? Well, here are a few reasons:
- JavaFX 1.2 Compatibility - The JavaFX scene graph was pretty-much rewritten from the ground up in the 1.2 release, so porting the old Shape code was non-trivial.
- Mobile Deployment - Yes, you can now draw stars, balloons, and reuleaux triangles on your new HTC Diamond. (What, you didn’t pick up a JavaFX Mobile device at JavaOne? Your loss…)
- Richard Bair said to do it… Rich isn’t the sort of guy you say no to, and he was pretty adament about the fact that we shouldn’t be hacking the scene graph directly. Well, now we aren’t. (although don’t let him know about our new hack to embed JavaFX in Swing…)
You can try out the new shapes by running the DrawJFXtras sample program from the Pro JavaFX Platform book (which has an entire chapter dedicated to the JFXtras project and other JavaFX FOSS):
Note: When playing with the demo be careful using the balloon and rounded rectangle shapes. They trigger a nasty bounds-detection bug that we still haven’t tracked down.
Thanks to my coworker, Steve Bixby for doing the rewrite in his spare time. He was looking for a little project to learn JavaFX, and went way above and beyond!
Redesigned Borders
We also redesigned the JFXtras Borders from scratch. Here are some of the new and noteworthy improvements:














