Advertisement
Guest User

Main

a guest
May 19th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.65 KB | None | 0 0
  1. import javafx.application.Application;
  2. import javafx.scene.Parent;
  3. import javafx.scene.Scene;
  4. import javafx.stage.Stage;
  5.  
  6.  
  7. public class Main extends Application {
  8.  
  9.  
  10.  
  11.     @Override
  12.     public void start(Stage primaryStage) throws Exception{
  13.         PatientsModel model = new PatientsModel();
  14.         PatientsController controller = new PatientsController();
  15.         PatientsTableView view = new PatientsTableView(controller, model);
  16.         Scene scene = new Scene(view.asParent(), 1280, 800);
  17.         primaryStage.setScene(scene);
  18.         primaryStage.show();
  19.     }
  20.     public static void main(String[] args) {
  21.         launch(args);
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement