diff --git a/Code/ost/_01_hello_world/.vscode/settings.json b/Code/ost/_01_hello_world/.vscode/settings.json
new file mode 100644
index 0000000..385f27a
--- /dev/null
+++ b/Code/ost/_01_hello_world/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "java.configuration.updateBuildConfiguration": "interactive"
+}
diff --git a/Code/ost/_01_hello_world/pom.xml b/Code/ost/_01_hello_world/pom.xml
index 1ca6d84..fc56fab 100644
--- a/Code/ost/_01_hello_world/pom.xml
+++ b/Code/ost/_01_hello_world/pom.xml
@@ -15,6 +15,11 @@
javafx-controls
13
+
+ org.openjfx
+ javafx-web
+ 19
+
diff --git a/Code/ost/_01_hello_world/src/main/java/module-info.java b/Code/ost/_01_hello_world/src/main/java/module-info.java
index 5918012..bfdc616 100644
--- a/Code/ost/_01_hello_world/src/main/java/module-info.java
+++ b/Code/ost/_01_hello_world/src/main/java/module-info.java
@@ -1,4 +1,5 @@
module com.example {
requires javafx.controls;
+ requires javafx.web;
exports com.example;
}
diff --git a/Code/ost/_01_hello_world/target/classes/module-info.class b/Code/ost/_01_hello_world/target/classes/module-info.class
index 5e9b472..5d9ba59 100644
Binary files a/Code/ost/_01_hello_world/target/classes/module-info.class and b/Code/ost/_01_hello_world/target/classes/module-info.class differ
diff --git a/Code/ost/_02_web_view/pom.xml b/Code/ost/_02_web_view/pom.xml
new file mode 100644
index 0000000..ad0f693
--- /dev/null
+++ b/Code/ost/_02_web_view/pom.xml
@@ -0,0 +1,51 @@
+
+ 4.0.0
+ org.interstellar
+ _02_web_view
+ 1.0-SNAPSHOT
+
+ UTF-8
+ 11
+ 11
+
+
+
+ org.openjfx
+ javafx-controls
+ 13
+
+
+ org.openjfx
+ javafx-web
+ 13
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.8.0
+
+ 11
+
+
+
+ org.openjfx
+ javafx-maven-plugin
+ 0.0.6
+
+
+
+
+ default-cli
+
+ org.interstellar.App
+
+
+
+
+
+
+
diff --git a/Code/ost/_02_web_view/src/main/java/module-info.java b/Code/ost/_02_web_view/src/main/java/module-info.java
new file mode 100644
index 0000000..b5790eb
--- /dev/null
+++ b/Code/ost/_02_web_view/src/main/java/module-info.java
@@ -0,0 +1,6 @@
+module org.interstellar {
+ requires javafx.controls;
+ requires javafx.web;
+
+ exports org.interstellar;
+}
diff --git a/Code/ost/_02_web_view/src/main/java/org/interstellar/App.java b/Code/ost/_02_web_view/src/main/java/org/interstellar/App.java
new file mode 100644
index 0000000..876dfa1
--- /dev/null
+++ b/Code/ost/_02_web_view/src/main/java/org/interstellar/App.java
@@ -0,0 +1,30 @@
+package org.interstellar;
+
+import javafx.application.Application;
+import javafx.scene.Scene;
+import javafx.scene.control.Label;
+import javafx.scene.layout.StackPane;
+import javafx.scene.web.WebView;
+import javafx.stage.Stage;
+
+public class App extends Application {
+
+ @Override
+ public void start(Stage stage) {
+ WebView browser = new WebView();
+ browser.getEngine().load("https://interstellardevelopment.org/");
+
+ StackPane root = new StackPane(browser);
+
+ Scene scene = new Scene(root, 1080, 720);
+
+ stage.setTitle("Test Webseite");
+ stage.setScene(scene);
+ stage.show();
+ }
+
+ public static void main(String[] args) {
+ launch();
+ }
+
+}
\ No newline at end of file
diff --git a/Code/ost/_02_web_view/src/main/java/org/interstellar/SystemInfo.java b/Code/ost/_02_web_view/src/main/java/org/interstellar/SystemInfo.java
new file mode 100644
index 0000000..ae765e3
--- /dev/null
+++ b/Code/ost/_02_web_view/src/main/java/org/interstellar/SystemInfo.java
@@ -0,0 +1,13 @@
+package org.interstellar;
+
+public class SystemInfo {
+
+ public static String javaVersion() {
+ return System.getProperty("java.version");
+ }
+
+ public static String javafxVersion() {
+ return System.getProperty("javafx.version");
+ }
+
+}
\ No newline at end of file
diff --git a/Code/ost/_02_web_view/target/classes/module-info.class b/Code/ost/_02_web_view/target/classes/module-info.class
new file mode 100644
index 0000000..899da2a
Binary files /dev/null and b/Code/ost/_02_web_view/target/classes/module-info.class differ
diff --git a/Code/ost/_02_web_view/target/classes/org/interstellar/App.class b/Code/ost/_02_web_view/target/classes/org/interstellar/App.class
new file mode 100644
index 0000000..bf00a86
Binary files /dev/null and b/Code/ost/_02_web_view/target/classes/org/interstellar/App.class differ
diff --git a/Code/ost/_02_web_view/target/classes/org/interstellar/SystemInfo.class b/Code/ost/_02_web_view/target/classes/org/interstellar/SystemInfo.class
new file mode 100644
index 0000000..45a8179
Binary files /dev/null and b/Code/ost/_02_web_view/target/classes/org/interstellar/SystemInfo.class differ
diff --git a/Code/ost/_03_event_handling/pom.xml b/Code/ost/_03_event_handling/pom.xml
new file mode 100644
index 0000000..23f2001
--- /dev/null
+++ b/Code/ost/_03_event_handling/pom.xml
@@ -0,0 +1,46 @@
+
+ 4.0.0
+ com.example
+ _04_event_handling
+ 1.0-SNAPSHOT
+
+ UTF-8
+ 11
+ 11
+
+
+
+ org.openjfx
+ javafx-controls
+ 13
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.8.0
+
+ 11
+
+
+
+ org.openjfx
+ javafx-maven-plugin
+ 0.0.6
+
+
+
+
+ default-cli
+
+ com.example.App
+
+
+
+
+
+
+
diff --git a/Code/ost/_03_event_handling/src/main/java/com/example/App.java b/Code/ost/_03_event_handling/src/main/java/com/example/App.java
new file mode 100644
index 0000000..7c1bebf
--- /dev/null
+++ b/Code/ost/_03_event_handling/src/main/java/com/example/App.java
@@ -0,0 +1,28 @@
+package com.example;
+
+import javafx.application.Application;
+import javafx.scene.Scene;
+import javafx.scene.control.Button;
+import javafx.scene.control.Label;
+import javafx.scene.layout.StackPane;
+import javafx.stage.Stage;
+
+public class App extends Application {
+ private int counter = 0;
+
+ @Override
+ public void start(Stage stage) {
+ try {
+ Button btn = new Button("Click me");
+ StackPane root = new StackPane();
+ root.getChildren().add(btn);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ public static void main(String[] args) {
+ launch();
+ }
+
+}
\ No newline at end of file
diff --git a/Code/ost/_03_event_handling/src/main/java/module-info.java b/Code/ost/_03_event_handling/src/main/java/module-info.java
new file mode 100644
index 0000000..5918012
--- /dev/null
+++ b/Code/ost/_03_event_handling/src/main/java/module-info.java
@@ -0,0 +1,4 @@
+module com.example {
+ requires javafx.controls;
+ exports com.example;
+}
diff --git a/Code/ost/_03_event_handling/target/classes/com/example/App.class b/Code/ost/_03_event_handling/target/classes/com/example/App.class
new file mode 100644
index 0000000..ea82770
Binary files /dev/null and b/Code/ost/_03_event_handling/target/classes/com/example/App.class differ
diff --git a/Code/ost/_03_event_handling/target/classes/module-info.class b/Code/ost/_03_event_handling/target/classes/module-info.class
new file mode 100644
index 0000000..5e9b472
Binary files /dev/null and b/Code/ost/_03_event_handling/target/classes/module-info.class differ
diff --git a/Code/ost/_04_several_scenes/pom.xml b/Code/ost/_04_several_scenes/pom.xml
new file mode 100644
index 0000000..5042787
--- /dev/null
+++ b/Code/ost/_04_several_scenes/pom.xml
@@ -0,0 +1,46 @@
+
+ 4.0.0
+ com.example
+ _04_several_scenes
+ 1.0-SNAPSHOT
+
+ UTF-8
+ 11
+ 11
+
+
+
+ org.openjfx
+ javafx-controls
+ 13
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.8.0
+
+ 11
+
+
+
+ org.openjfx
+ javafx-maven-plugin
+ 0.0.6
+
+
+
+
+ default-cli
+
+ com.example.App
+
+
+
+
+
+
+
diff --git a/Code/ost/_04_several_scenes/src/main/java/com/example/App.java b/Code/ost/_04_several_scenes/src/main/java/com/example/App.java
new file mode 100644
index 0000000..f7f7cfc
--- /dev/null
+++ b/Code/ost/_04_several_scenes/src/main/java/com/example/App.java
@@ -0,0 +1,30 @@
+package com.example;
+
+import javafx.application.Application;
+import javafx.scene.Scene;
+import javafx.scene.control.Label;
+import javafx.scene.layout.StackPane;
+import javafx.stage.Stage;
+
+
+/**
+ * JavaFX App
+ */
+public class App extends Application {
+
+ @Override
+ public void start(Stage stage) {
+ var javaVersion = SystemInfo.javaVersion();
+ var javafxVersion = SystemInfo.javafxVersion();
+
+ var label = new Label("Hello, JavaFX " + javafxVersion + ", running on Java " + javaVersion + ".");
+ var scene = new Scene(new StackPane(label), 640, 480);
+ stage.setScene(scene);
+ stage.show();
+ }
+
+ public static void main(String[] args) {
+ launch();
+ }
+
+}
\ No newline at end of file
diff --git a/Code/ost/_04_several_scenes/src/main/java/com/example/SystemInfo.java b/Code/ost/_04_several_scenes/src/main/java/com/example/SystemInfo.java
new file mode 100644
index 0000000..b566a3e
--- /dev/null
+++ b/Code/ost/_04_several_scenes/src/main/java/com/example/SystemInfo.java
@@ -0,0 +1,13 @@
+package com.example;
+
+public class SystemInfo {
+
+ public static String javaVersion() {
+ return System.getProperty("java.version");
+ }
+
+ public static String javafxVersion() {
+ return System.getProperty("javafx.version");
+ }
+
+}
\ No newline at end of file
diff --git a/Code/ost/_04_several_scenes/src/main/java/module-info.java b/Code/ost/_04_several_scenes/src/main/java/module-info.java
new file mode 100644
index 0000000..5918012
--- /dev/null
+++ b/Code/ost/_04_several_scenes/src/main/java/module-info.java
@@ -0,0 +1,4 @@
+module com.example {
+ requires javafx.controls;
+ exports com.example;
+}