Update App
This commit is contained in:
parent
5401288779
commit
a8abd6173a
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user