Пример #1
0
 public void start(Stage primaryStage) {
   d3 = new Draw3D();
   Scene scene = d3.buildScene();
   preambleCommands();
   drawingCommands();
   d3.setStart();
   primaryStage.setScene(scene);
   primaryStage.setTitle(title);
   primaryStage.show();
 }
Пример #2
0
 @Override
 public void start(Stage primaryStage) {
   dt = new Draw3D();
   Scene scene = dt.buildScene();
   buildData();
   dt.setStart();
   primaryStage.setScene(scene);
   primaryStage.setTitle("TestDrone");
   primaryStage.show();
 }