Added the main method into VotingBoothGUIManager

android-scanner
Vladimir Eliezer Tokarev 2016-09-17 13:36:37 +03:00
parent d8adf7b49e
commit 210994ca75
5 changed files with 8 additions and 8 deletions

Binary file not shown.

View File

@ -18,18 +18,18 @@ public class VotingBoothGUIManager extends Application implements VotingBoothUI
private static final org.slf4j.Logger logger = LoggerFactory.getLogger(VotingBoothGUIManager.class);
private Map<String, TwoWayNode> 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