Thursday, January 21, 2010

CREATE the first JavaFX script, HelloJavaFX.

Same as many of modern IDE, NetBeans provide a very easy steps to CREATE our first JavaFX script, HelloJavaFX.



Start NetBeans, Click File -> Project.


Select JavaFX from Categories pane on the left, and select JavaFX Script Application from Projects pane on the right, and click Next.


Enter your Project Name, say HelloJavaFX. and select Project Location then Click Finish.


Now, your NetBeans IDE should be looked like this:


Lets modify some wording to suit the HelloJavaFX.

Scroll down to modify title and content inside Stage. And click the green arrow on the top menu (or press F6) to Run Main Project.


Stage {
title: "Hello JavaFX"
scene: Scene {
width: 250
height: 80
content: [
Text {
font : Font {
size : 16
}
x: 10
y: 30
content: "Hello JavaFX"
}
]
}
}




That's!



Monday, January 18, 2010

Getting Started with JavaFX Mobile 1.2 EA for Windows Mobile


Getting Started with JavaFX Mobile 1.2 EA for Windows Mobile, part 1


Getting Started with JavaFX Mobile 1.2 EA for Windows Mobile, part 2

JavaFX in NetBeans 6.8


JavaFX in NetBeans 6.8

Sunday, January 17, 2010