Update App

This commit is contained in:
code-witch 2019-07-20 20:02:43 -06:00
parent 5401288779
commit a8abd6173a

View File

@ -6,20 +6,20 @@ import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.HBox;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
public final class App extends Application {
public static final HBox root = new HBox();
public static final Scene scene = new Scene(root);
@Override
public void init() {
// Put more init stuff here if need be.
scene.setFill(Color.BLACK);
// scene.getStylesheets().add("");
System.out.println("Initialization Completed");
}
@Override
public void start(Stage stage) {
// There's got to be a cleaner way..
@ -30,6 +30,4 @@ public final class App extends Application {
stage.show();
}
}