-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMain.java
More file actions
28 lines (24 loc) · 735 Bytes
/
Copy pathMain.java
File metadata and controls
28 lines (24 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package ProjectUraniumAutoBuilder;
import javafx.application.Application;
import javafx.scene.*;
import javafx.stage.*;
import javafx.scene.layout.VBox;
import javafx.fxml.FXMLLoader;
/**
*
* @author acedogblast
*/
public class Main extends Application {
public static void main(String[] args) {
launch(args);
}
public void start(Stage primaryStage) throws Exception
{
primaryStage.setTitle("Project Uranium Auto-Builder");
VBox fxml = (VBox) FXMLLoader.load(getClass().getResource("/ProjectUraniumAutoBuilderScene.fxml"));
Scene scene = new Scene(fxml);
primaryStage.setScene(scene);
primaryStage.setResizable(false);
primaryStage.show();
}
}