ZSIK_Projekt/src/main/java/ftp/sar/Main.java

27 lines
672 B
Java
Raw Normal View History

2019-12-02 18:23:39 +01:00
package ftp.sar;
2019-11-23 08:58:49 +01:00
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
@Override
public void start(Stage primaryStage) throws Exception{
2019-11-23 22:02:12 +01:00
ResourceLoader loader = ResourceLoader.getInstance();
2019-12-01 19:20:42 +01:00
Parent root = FXMLLoader.load(loader.getResource("main_page.fxml"));
2019-11-23 09:34:40 +01:00
primaryStage.setTitle("FTP SAR");
primaryStage.setScene(new Scene(root));
2019-12-08 18:02:36 +01:00
// primaryStage.setResizable(false);
2019-11-23 08:58:49 +01:00
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}