diff --git a/.idea/workspace.xml b/.idea/workspace.xml index fdf5031..42377b3 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,13 +1,37 @@ + + - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/EShop.iml b/EShop.iml index c90834f..c645519 100644 --- a/EShop.iml +++ b/EShop.iml @@ -3,9 +3,11 @@ + + \ No newline at end of file diff --git a/out/production/EShop/fxml/MainWindow.fxml b/out/production/EShop/fxml/MainWindow.fxml new file mode 100644 index 0000000..1960c6c --- /dev/null +++ b/out/production/EShop/fxml/MainWindow.fxml @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/out/production/EShop/launcher/Launcher.class b/out/production/EShop/launcher/Launcher.class new file mode 100644 index 0000000..926b662 Binary files /dev/null and b/out/production/EShop/launcher/Launcher.class differ diff --git a/out/production/EShop/view/MainWindow.class b/out/production/EShop/view/MainWindow.class new file mode 100644 index 0000000..c1310d9 Binary files /dev/null and b/out/production/EShop/view/MainWindow.class differ diff --git a/resources/fxml/MainWindow.fxml b/resources/fxml/MainWindow.fxml new file mode 100644 index 0000000..1960c6c --- /dev/null +++ b/resources/fxml/MainWindow.fxml @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/src/launcher/Launcher.java b/src/launcher/Launcher.java new file mode 100644 index 0000000..234f3d3 --- /dev/null +++ b/src/launcher/Launcher.java @@ -0,0 +1,19 @@ +package launcher; + +import javafx.application.Application; +import javafx.fxml.FXMLLoader; +import javafx.scene.Parent; +import javafx.scene.Scene; +import javafx.stage.Stage; + +import java.util.Objects; + +public class Launcher extends Application { + @Override + public void start(Stage primaryStage) throws Exception { + Parent root = FXMLLoader.load(Objects.requireNonNull(getClass().getResource("/fxml/MainWindow.fxml"))); + Scene scene = new Scene(root); + primaryStage.setScene(scene); + primaryStage.show(); + } +} diff --git a/src/view/MainWindow.java b/src/view/MainWindow.java new file mode 100644 index 0000000..d8b616c --- /dev/null +++ b/src/view/MainWindow.java @@ -0,0 +1,4 @@ +package view; + +public class MainWindow { +}