@@ -0,0 +1,1129 @@
+/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage demofx;%0A%0Aimport java.io.IOException;%0Aimport javafx.application.Application;%0Aimport javafx.fxml.FXML;%0Aimport javafx.fxml.FXMLLoader;%0Aimport javafx.scene.Scene;%0Aimport javafx.scene.layout.AnchorPane;%0Aimport javafx.stage.Stage;%0A%0A/**%0A *%0A * @author Novi%0A */%0Apublic class DemoFX extends Application %7B%0A    %0A    @FXML private AnchorPane mainPane;%0A    @FXML private Stage stage;%0A    %0A    @Override%0A    public void start(Stage primaryStage)throws IOException %7B%0A    %0A        mainPane=(AnchorPane)FXMLLoader.load(DemoFX.class.getResource(%22MainFXML.fxml%22));%0A        stage=primaryStage;%0A        Scene scene = new Scene(mainPane);%0A        primaryStage.setTitle(%22Main FXML%22);%0A        primaryStage.setResizable(false);%0A        primaryStage.setScene(scene);%0A        primaryStage.show();%0A        %0A        %0A    %7D%0A%0A    /**%0A     * @param args the command line arguments%0A     */%0A    public static void main(String%5B%5D args) %7B%0A        launch(args);%0A    %7D%0A    %0A%7D%0A

Create DemoFX.java