Skip to main content

Blog Archive for sanjay_dasgupta during August 2012

The Application Architectures document is now available. It describes the three architectural models (see figure below) available to programs, and includes sample code for a simple directory-watcher in all three models. The sample code in Application Architectures also illustrates some non-trivial capabilities: creating a new thread (java.lang.Thread object) from JavaScript, and using a...
I've been testing (A Smarter FXML Alternative, http://fxjs.java.net/) with the latest JDK (SE 7 Update 6), and have updated the Quick-Start Guide. A summary of my findings is given below. On Windows XP, everything works as it should. launches correctly without jfxrt.jar specified explicitly in the classpath as expected (becase JavaFX is included in this JDK). But on Lunux (Ubuntu-12.04) the...
How many lines of Java do you need to create the following JavaFX application? (Answer: About 30, as seen in Hello World, JavaFX Style) And how many lines of (http://fxjs.java.net/) would you need? (Answer: See below) {T: fxStage, title: 'Hello World!',  scene: {T: fxScene, width: 300, height: 250,    root: {T: fxStackPane,      children...