import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.stage.Stage;

public class MyJavaFX extends Application {
   @Override // Override the start methode in the Application class
   public void start(Stage primaryStage)
   {
      Button btOK = new Button("OK");
      Scene scene = new Scene(btOK, 200, 250);
      primaryStage.setTitle("MyJavaFX");
      primaryStage.setScene(scene);
      primaryStage.show();
   }

   public static void main(String[] args)
   {
      Application.launch(args);
   }
}

