dev #1
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user