ZSIK_Projekt/src/application/Main.java

28 lines
679 B
Java
Raw Normal View History

2019-11-23 09:34:40 +01:00
package application;
2019-11-23 08:58:49 +01:00
2019-11-24 11:50:30 +01:00
import application.client.view.ResourceLoader;
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;
2019-11-23 09:34:40 +01:00
2019-11-23 08:58:49 +01:00
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();
Parent root = FXMLLoader.load(loader.getResource("mainPage.fxml"));
2019-11-23 09:34:40 +01:00
primaryStage.setTitle("FTP SAR");
primaryStage.setScene(new Scene(root));
2019-11-23 08:58:49 +01:00
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}