diff --git a/voting-station-gui/src/sample/Controller.java b/voting-station-gui/src/sample/Controller.java new file mode 100644 index 0000000..54e5bd1 --- /dev/null +++ b/voting-station-gui/src/sample/Controller.java @@ -0,0 +1,4 @@ +package sample; + +public class Controller { +} diff --git a/voting-station-gui/src/sample/Main.java b/voting-station-gui/src/sample/Main.java new file mode 100644 index 0000000..c5ca4ea --- /dev/null +++ b/voting-station-gui/src/sample/Main.java @@ -0,0 +1,23 @@ +package sample; + +import javafx.application.Application; +import javafx.fxml.FXMLLoader; +import javafx.scene.Parent; +import javafx.scene.Scene; +import javafx.stage.Stage; + +public class Main extends Application { + + @Override + public void start(Stage primaryStage) throws Exception{ + Parent root = FXMLLoader.load(getClass().getResource("sample.fxml")); + primaryStage.setTitle("Meerkat Voting Station"); + primaryStage.setScene(new Scene(root, 300, 275)); + primaryStage.show(); + } + + + public static void main(String[] args) { + launch(args); + } +} diff --git a/voting-station-gui/src/sample/sample.fxml b/voting-station-gui/src/sample/sample.fxml new file mode 100644 index 0000000..363237a --- /dev/null +++ b/voting-station-gui/src/sample/sample.fxml @@ -0,0 +1,8 @@ + + + + + + + \ No newline at end of file