Added the main method into VotingBoothGUIManager
parent
d8adf7b49e
commit
210994ca75
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -18,18 +18,18 @@ public class VotingBoothGUIManager extends Application implements VotingBoothUI
|
||||||
private static final org.slf4j.Logger logger = LoggerFactory.getLogger(VotingBoothGUIManager.class);
|
private static final org.slf4j.Logger logger = LoggerFactory.getLogger(VotingBoothGUIManager.class);
|
||||||
private Map<String, TwoWayNode> visualPanelsMap;
|
private Map<String, TwoWayNode> visualPanelsMap;
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates new instance of VotingBoothGUIManager
|
|
||||||
*/
|
|
||||||
public VotingBoothGUIManager() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void start(Stage primaryStage) throws Exception {
|
public void start(Stage primaryStage) throws Exception {
|
||||||
visualPanelsMap = ChainBuilder.Build(primaryStage);
|
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
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue