Main set up
This commit is contained in:
parent
b50af9162c
commit
b604cb5f40
28
javatui/controller/App.java
Normal file
28
javatui/controller/App.java
Normal file
|
@ -0,0 +1,28 @@
|
|||
package controller;
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.scene.layout.VBox;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
public final class App extends Application {
|
||||
public final VBox root = new VBox();
|
||||
public final Scene scene = new Scene(root);
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void start(Stage stage) {
|
||||
|
||||
|
||||
|
||||
stage.setTitle("JavaTUI");
|
||||
stage.setScene(scene);
|
||||
stage.show();
|
||||
}
|
||||
|
||||
}
|
9
javatui/controller/JavaTUI.java
Normal file
9
javatui/controller/JavaTUI.java
Normal file
|
@ -0,0 +1,9 @@
|
|||
package controller;
|
||||
|
||||
import javafx.application.Application;
|
||||
|
||||
public final class JavaTUI {
|
||||
public static void main(String[] args) {
|
||||
Application.launch(App.class, args);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user