mmjavafx1.htm

Step: 1 Click on New Project from File menu

Create a folder

Click to Finish

Note the script of JavaFX is loaded

Code snippet

package mmjavafx1;

import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.text.Text;
import javafx.scene.text.Font;

/**
* @author Manas8
*/

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

 

 

Step: 3 First Test  run of the project

Step: 4 Edit the code