We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ea1c7d commit 34ee425Copy full SHA for 34ee425
1 file changed
JavaFX/000_template/Main.java
@@ -16,10 +16,8 @@ public static void main(String[] args) {
16
@Override
17
public void start(Stage primaryStage) throws Exception {
18
window = primaryStage;
19
- window.setTitle("Title of the Window");
20
-
21
- button = new Button();
22
- button.setText("Click me");
+ window.setTitle("thenewboston - JavaFX");
+ button = new Button("Click me");
23
24
StackPane layout = new StackPane();
25
layout.getChildren().add(button);
0 commit comments