21 lines
536 B
Java
21 lines
536 B
Java
package ui;
|
|
|
|
import javafx.application.Application;
|
|
import javafx.fxml.FXMLLoader;
|
|
import javafx.scene.Scene;
|
|
import javafx.stage.Stage;
|
|
|
|
public class main extends Application {
|
|
@Override
|
|
public void start(Stage primaryStage) throws Exception {
|
|
FXMLLoader loader = new FXMLLoader(getClass().getResource("/Mainview.fxml"));
|
|
Scene scene = new Scene(loader.load());
|
|
primaryStage.setScene(scene);
|
|
primaryStage.show();
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
launch(args);
|
|
}
|
|
}
|