Skip to content

Commit 34ee425

Browse files
committed
Small template change.
1 parent 0ea1c7d commit 34ee425

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

JavaFX/000_template/Main.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ public static void main(String[] args) {
1616
@Override
1717
public void start(Stage primaryStage) throws Exception {
1818
window = primaryStage;
19-
window.setTitle("Title of the Window");
20-
21-
button = new Button();
22-
button.setText("Click me");
19+
window.setTitle("thenewboston - JavaFX");
20+
button = new Button("Click me");
2321

2422
StackPane layout = new StackPane();
2523
layout.getChildren().add(button);

0 commit comments

Comments
 (0)