Removed the packages problem
parent
7cda19247e
commit
51ea368c01
|
@ -1,4 +1,4 @@
|
||||||
package main.select_candidate_by_picture;
|
package meerkat.voting.gui.select_candidate_by_picture;
|
||||||
|
|
||||||
import javafx.fxml.FXML;
|
import javafx.fxml.FXML;
|
||||||
import javafx.geometry.Insets;
|
import javafx.geometry.Insets;
|
||||||
|
|
|
@ -5,7 +5,6 @@ import javafx.scene.Parent;
|
||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
import meerkat.voting.gui.TwoWayNode;
|
import meerkat.voting.gui.TwoWayNode;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Vladimir Eliezer Tokarev on 8/27/2016.
|
* Created by Vladimir Eliezer Tokarev on 8/27/2016.
|
||||||
* SelectCandidateByPictureLoader creates the pannel which gives the option to choose by picture
|
* SelectCandidateByPictureLoader creates the pannel which gives the option to choose by picture
|
||||||
|
@ -30,7 +29,7 @@ public class SelectCandidateByPictureLoader {
|
||||||
*/
|
*/
|
||||||
public TwoWayNode GetSelectCandidateByPicture() throws IOException {
|
public TwoWayNode GetSelectCandidateByPicture() throws IOException {
|
||||||
Parent selectByPicture = fxmlLoader.load();
|
Parent selectByPicture = fxmlLoader.load();
|
||||||
SelectCandidateByPictureController controller = fxmlLoader.getController();
|
meerkat.voting.gui.select_candidate_by_picture.SelectCandidateByPictureController controller = fxmlLoader.getController();
|
||||||
|
|
||||||
// set the controller to be functional TwoWayNode
|
// set the controller to be functional TwoWayNode
|
||||||
controller.SetParent(selectByPicture);
|
controller.SetParent(selectByPicture);
|
||||||
|
|
Loading…
Reference in New Issue