Basement for the menu
This commit is contained in:
parent
d5db1b14af
commit
a273e7736a
24
app/src/main/java/school_project/Menu.java
Normal file
24
app/src/main/java/school_project/Menu.java
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
package school_project;
|
||||||
|
|
||||||
|
import javafx.application.Application;
|
||||||
|
import javafx.scene.Scene;
|
||||||
|
import javafx.scene.layout.BorderPane;
|
||||||
|
import javafx.stage.Stage;
|
||||||
|
|
||||||
|
public class Menu extends Application {
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
launch(args);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void start(Stage primaryStage) {
|
||||||
|
//set up the page
|
||||||
|
BorderPane root = new BorderPane();
|
||||||
|
Scene scene = new Scene(root,300,200);
|
||||||
|
primaryStage.setScene(scene);
|
||||||
|
primaryStage.show();
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user