JavaFX
Recently, one of my collegues introduced me to JavaFX, the RIA scripting language from Sun. At first sight, it looked similar to SilverLight (which I'm also experimenting with), but I'm yet to dig deeper into both of these.
I wrote my first JavaFX script from Eclipse. I did have some teething issues to get it to run in Eclipse. For one, I read a blog post that mentioned that JRE 6+ would work fine, but it worked for me only with JRE 5+. Here is the simple program that I wrote. I did not like the fact that I had to create a run configuration in Eclipse for each project. I would have liked just a simple Run command for JavaFX. Maybe it will come down the line...
|
import javafx.ui.*;
Frame {
title: "Hello World, JavaFX"
width: 200
height: 50
content: Label {
text: "Hello World, JavaFX"
}
visible: true
} |