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