diff --git a/classes/production/voting-booth-gui/main/ChainBuilder.class b/classes/production/voting-booth-gui/main/ChainBuilder.class index 5e6b54d..db2922b 100644 Binary files a/classes/production/voting-booth-gui/main/ChainBuilder.class and b/classes/production/voting-booth-gui/main/ChainBuilder.class differ diff --git a/classes/production/voting-booth-gui/main/Main.class b/classes/production/voting-booth-gui/main/Main.class index 4a673e0..c8dc67e 100644 Binary files a/classes/production/voting-booth-gui/main/Main.class and b/classes/production/voting-booth-gui/main/Main.class differ diff --git a/classes/production/voting-booth-gui/main/VotingBoothGUIManager.class b/classes/production/voting-booth-gui/main/VotingBoothGUIManager.class index 65164c1..c13971e 100644 Binary files a/classes/production/voting-booth-gui/main/VotingBoothGUIManager.class and b/classes/production/voting-booth-gui/main/VotingBoothGUIManager.class differ diff --git a/classes/production/voting-booth-gui/main/test2.class b/classes/production/voting-booth-gui/main/test2.class new file mode 100644 index 0000000..bb13534 Binary files /dev/null and b/classes/production/voting-booth-gui/main/test2.class differ diff --git a/voting-booth-gui/src/main/VotingBoothGUIManager.java b/voting-booth-gui/src/main/VotingBoothGUIManager.java index d8e0669..31feff6 100644 --- a/voting-booth-gui/src/main/VotingBoothGUIManager.java +++ b/voting-booth-gui/src/main/VotingBoothGUIManager.java @@ -18,18 +18,18 @@ public class VotingBoothGUIManager extends Application implements VotingBoothUI private static final org.slf4j.Logger logger = LoggerFactory.getLogger(VotingBoothGUIManager.class); private Map visualPanelsMap; - /** - * Creates new instance of VotingBoothGUIManager - */ - public VotingBoothGUIManager() { - - } - @Override public void start(Stage primaryStage) throws Exception { visualPanelsMap = ChainBuilder.Build(primaryStage); + } - + /** + * Method that activates the application and passes to start the primary stage (can be called outside this class) + * @param args array of strings to pass to the start method as argument + * @throws InterruptedException + */ + public static void main(String[] args) throws InterruptedException { + launch(args); } @Override