Advertisement
Guest User

Main

a guest
Jun 19th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.62 KB | None | 0 0
  1. import javafx.application.Application;
  2. import javafx.fxml.FXMLLoader;
  3. import javafx.scene.Parent;
  4. import javafx.scene.Scene;
  5. import javafx.stage.Stage;
  6.  
  7. public class Main extends Application {
  8.  
  9.     @Override
  10.     public void start(Stage primaryStage) throws Exception{
  11.         Parent root = FXMLLoader.load(getClass().getResource("main.fxml"));
  12.         primaryStage.setTitle("System bankowy");
  13.         ZarzadanieBaza.zarzadzajBaza().polaczZBaza();
  14.         primaryStage.setScene(new Scene(root, 900, 530));
  15.         primaryStage.show();
  16.     }
  17.  
  18.     public static void main(String[] args) {
  19.         launch(args);
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement