diff --git a/voting-booth-gui/src/main/java/meerkat/voting/gui/managment/Main.java b/voting-booth-gui/src/main/java/meerkat/voting/gui/Main.java similarity index 95% rename from voting-booth-gui/src/main/java/meerkat/voting/gui/managment/Main.java rename to voting-booth-gui/src/main/java/meerkat/voting/gui/Main.java index df7e9fe..b75dfc9 100644 --- a/voting-booth-gui/src/main/java/meerkat/voting/gui/managment/Main.java +++ b/voting-booth-gui/src/main/java/meerkat/voting/gui/Main.java @@ -1,9 +1,10 @@ -package meerkat.voting.gui.managment; +package meerkat.voting.gui; import javafx.application.Application; import javafx.stage.Stage; import meerkat.voting.gui.configuration.VotingBoothConfiguration; import meerkat.voting.gui.configuration.VotingBoothConfigurationCreator; +import meerkat.voting.gui.managment.ChainBuilder; import org.json.JSONException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/voting-booth-gui/src/main/java/meerkat/voting/gui/managment/ChainBuilder.java b/voting-booth-gui/src/main/java/meerkat/voting/gui/managment/ChainBuilder.java index 9911cee..ad554ba 100644 --- a/voting-booth-gui/src/main/java/meerkat/voting/gui/managment/ChainBuilder.java +++ b/voting-booth-gui/src/main/java/meerkat/voting/gui/managment/ChainBuilder.java @@ -22,7 +22,7 @@ import java.util.Map; * ChainBuilder builds all the two way nodes that are in current project (voting-booth-gui) * and connects between all of them so they can keep their flow */ -class ChainBuilder { +public class ChainBuilder { /** * Creates all the twoWayNodes and connects between them @@ -45,7 +45,7 @@ class ChainBuilder { * and the previous this way the flow between will be easy . * The Build method creates all the screens and connect between them */ - static Map Build(Stage primaryStage, VotingBoothConfiguration configuration) throws IOException { + public static Map Build(Stage primaryStage, VotingBoothConfiguration configuration) throws IOException { VotersBallot votersBallot = new VotersBallot(); WelcomeSplashLoader welcomeSplashLoader = new WelcomeSplashLoader(primaryStage, configuration);