
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!