Welcome!

James L. Weaver

Subscribe to James L. Weaver: eMailAlertsEmail Alerts
Get James L. Weaver via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by James L. Weaver

James Weaver’s JavaFX Blog For me, JavaOne 2008 was enlightening, exhilarating and exhausting.  It was great meeting colleagues that I had only known via email and JavaFX mailing lists.  I'd like to especially thank all who suffered through my JavaFX University and technical sessions :-) There were several JavaFX-related announcements and demos at JavaOne, not the least of which is the preview release of the JavaFX SDK due in June 2008.  As the interpreted version of JavaFX was the prototype for the compiled version, the javafx.ui classes are the prototype for the javafx.gui classes that were shown at JavaOne and will be released in the SDK.  These javafx.gui libraries will have a streamlined, faster performing API, as well as support for multimedia.  In June, JavaFX will have turned a significant corner, out of the prototype stage and becoming more mature.  F... (more)

Jim Weaver's JavaFX Puzzler: The Puzzler4Compiled Program

From Jim Weaver's Learn JavaFX Weblog As I mentioned in my post a week ago, this JavaFX Puzzler will require writing a compiled JavaFX Script program. In subsequent posts on my Learning JavaFX weblog, I've provided instructions for using the OpenJFX Compiler to compile a JavaFX Script program into Java bytecode, and to run the program. If you haven't seen these posts, please review them first. The first person to post a comment with a correct solution will be given a free JavaFX Script: Dynamic Java Scripting for Rich Internet/Client-side Applications eBook (PDF download).  When... (more)

Compiled JavaFX Script Applet - Happy Holidays!

To wish you Happy Holidays (and if you'll permit me, a very merry Christmas) I wrote this Compiled JavaFX Script Applet (that executes in a browser).  For fast deployment I used the latest version of Java SE 6 Update 10 (formerly known as Java SE Update N, formerly known as Consumer JRE, formerly known as Prince :-D).  I also used the latest beta version of Firefox (Minefield 3.0 beta), as this is necessary if you want to use the Java SE Update 10 browser plug-in with Firefox.  Check out this video blog by Robert Eckstein for some great information about Java SE Update 10. The Java... (more)

How To Develop and Run a JavaFX Script Program Using JavaFXPad

From Jim Weaver's Learn JavaFX Weblog There are several environments in which you can develop and run JavaFX Script programs. I’d like to help you become a JavaFX Script programmer in the next few minutes, so I’m going to show you the fastest route that I know of to get there, which includes using a tool that Sun created called JavaFXPad. You’ll need the Java Runtime Environment (JRE) 1.5 or higher (Mac OS requires the latest JRE 1.5 release or JRE 1.6) Run JavaFXPad straight from the Internet by accessing the following URL: http://download.java.net/general/o... (more)

Closures in Compiled JavaFX Script

From Jim Weaver's Learn JavaFX Weblog One of the very useful (and cool) features of compiled JavaFX Script will be closures.  In a nutshell, JavaFX Script closures provide the ability to define a function within another function with the inner function having access to the local variables of the outer function.  This feature is enabled by the fact that in compiled JavaFX Script, functions are first-class objects, which provides the ability to assign functions to variables and to pass functions as arguments to other functions.  You can read more about closures in this Wikipedia ... (more)