1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-06-18 00:37:06 -07:00
Abacus/src/main/java/org/nwapw/abacus/fx/AbacusApplication.java

25 lines
675 B
Java
Raw Normal View History

2017-07-31 16:50:39 -07:00
package org.nwapw.abacus.fx;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
2017-08-01 10:47:31 -07:00
/**
* The main application class for JavaFX responsible for loading
* and displaying the fxml file.
*/
2017-07-31 16:50:39 -07:00
public class AbacusApplication extends Application {
@Override
public void start(Stage primaryStage) throws Exception {
Parent parent = FXMLLoader.load(getClass().getResource("/abacus.fxml"));
Scene mainScene = new Scene(parent, 320, 480);
primaryStage.setScene(mainScene);
primaryStage.setTitle("Abacus");
primaryStage.show();
}
}