Although Compiled JavaFX Script is not ready yet (but the Milestone 1 release is getting *real close now*), Chris Oliver has decided to tease us with a nice Compiled JavaFX Script example that is an implementation of the Bubblemark performance benchmarking application. Check it out via Java Web Start, and here is more information about it on Chris' blog.
Enjoy!
Jim Weaver
JavaFX Script: Dynamic Java Scripting for Rich Internet/Client-side Applications
eBook (PDF) download available at the book's Apress site
Thanks Kirk. As Chris Oliver said in his post that accompanies this Bubblemark example, "We're still working on implementing the full JavaFX script runtime with the compiler. The above version is just using a provisional runtime and is just animating an image and doesn't implement the bubbles with vector graphics." So I'm not surprised that the drawing area doesn't resize. Hold on a second and I'll check it on my Windows XP machine...
Yep, the behavior is consistent. The bubbles are confined to the original frame size on my machine as well. -Jim
Posted by: Jim Weaver | November 19, 2007 at 09:41 AM
I should add that resizing the window doesn't resize the drawing area.
Kirk
ps I assumed that everyone would know that MBP is MacBook Pro. My bad.
Posted by: Kirk | November 19, 2007 at 09:23 AM
I haven't tried it on a Mac (yet), but I am pleased with what this represents in terms of execution speed of JavaFX apps!
Posted by: Jim Weaver | November 19, 2007 at 08:45 AM
It maybe a simple demo but it really rocks on my MBP (~195fps)
Posted by: Kirk | November 19, 2007 at 06:17 AM