Many of you know that Danny Coward is the Chief Architect of Sun's Client Software (Java SE, Java ME and JavaFX). In his August 19, 2008 blog post, Danny stops just short of breaking out into a Rogers and Hammerstein song while reciting some of his favorite things about the JavaFX SDK Preview.
Enjoy!
Jim Weaver
JavaFXpert.com
Edgar,
Thanks for your suggestions. I implemented them and they did indeed simplify the code, as well as fix the unwanted behaviors that you pointed out. As to your suggestion about helping me code osme components, I would welcome your help and expertise! I like the idea of creating a dockable MenuNode, so maybe we could alter the MenuNode to have that behavior?
Thanks again,
Jim Weaver
Posted by: Jim Weaver | August 22, 2008 at 12:07 AM
Hello again,
the code improvements are applicable to the post: Rolling Your Own JavaFX "Custom Nodes": A Graphical Menu Example, but it might apply to others; it's something very simple but improves animation speed and glitches. The key is to use the toggle attribute in the Timeline class instead of hardcoding the computations needed for the animation to take place, it's all explained in the email (the last one actually gives a better example of it). By the way, I would be really glad to help you out on coding some components, since I was about to start a new api of my own, but I guess it would be much better to simply unite our efforts (while we wait for some standard nodes to come out).
Posted by: Edgar Merino | August 20, 2008 at 06:38 PM
Edgar wrote: "Hello, I just sent you an email regarding some issues (code improvements) with animations. I hope you were able to read them. Good job by the way (for the blog)."
Edgar,
Thanks for your kind words. I saw your email. Do your code improvements pertain to an example in a particular post? If so, which post is it?
Thanks,
Jim Weaver
Posted by: Jim Weaver | August 20, 2008 at 03:43 PM
Hello, I just sent you an email regarding some issues (code improvements) with animations. I hope you were able to read them. Good job by the way (for the blog).
Posted by: Edgar Merino | August 20, 2008 at 03:08 PM