Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 2-UI-components-and-layout.md #429

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions data/part-13/2-UI-components-and-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public class JavaFxApplication extends Application {
}

public static void main(String[] args) {
launch(JavaFxSovellus.class);
launch(JavaFxApplication.class);
}
}
```
Expand Down Expand Up @@ -205,7 +205,7 @@ import javafx.scene.control.Label;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;

public class JavaFxSovellus extends Application {
public class JavaFxApplication extends Application {

@Override
public void start(Stage window) {
Expand All @@ -223,7 +223,7 @@ public class JavaFxSovellus extends Application {
}

public static void main(String[] args) {
launch(JavaFxSovellus.class);
launch(JavaFxApplication.class);
}
}
``` -->
Expand Down Expand Up @@ -254,7 +254,7 @@ public class JavaFxSovellus extends Application {
}

public static void main(String[] args) {
launch(JavaFxSovellus.class);
launch(JavaFxApplication.class);
}
}
```
Expand Down Expand Up @@ -418,7 +418,7 @@ Layout components can be combined. A typical setup involves using the BorderPane


<!-- ```java
package sovellus;
package application;

import javafx.application.Application;
import javafx.scene.Scene;
Expand All @@ -430,7 +430,7 @@ import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;

public class JavaFxSovellus extends Application {
public class JavaFxApplication extends Application {

@Override
public void start(Stage window) {
Expand Down Expand Up @@ -460,7 +460,7 @@ public class JavaFxSovellus extends Application {
}

public static void main(String[] args) {
launch(JavaFxSovellus.class);
launch(JavaFxApplication.class);
}
}
``` -->
Expand All @@ -477,7 +477,7 @@ import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;

public class JavaFxSovellus extends Application {
public class JavaFxApplication extends Application {

@Override
public void start(Stage window) {
Expand Down Expand Up @@ -507,7 +507,7 @@ public class JavaFxSovellus extends Application {
}

public static void main(String[] args) {
launch(JavaFxSovellus.class);
launch(JavaFxApplication.class);
}
}
```
Expand Down