Created new branch which will have the initial voting station gui.
parent
7fc0af2b1f
commit
df6e40e385
|
@ -0,0 +1,4 @@
|
||||||
|
package sample;
|
||||||
|
|
||||||
|
public class Controller {
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
package sample;
|
||||||
|
|
||||||
|
import javafx.application.Application;
|
||||||
|
import javafx.fxml.FXMLLoader;
|
||||||
|
import javafx.scene.Parent;
|
||||||
|
import javafx.scene.Scene;
|
||||||
|
import javafx.stage.Stage;
|
||||||
|
|
||||||
|
public class Main extends Application {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void start(Stage primaryStage) throws Exception{
|
||||||
|
Parent root = FXMLLoader.load(getClass().getResource("sample.fxml"));
|
||||||
|
primaryStage.setTitle("Meerkat Voting Station");
|
||||||
|
primaryStage.setScene(new Scene(root, 300, 275));
|
||||||
|
primaryStage.show();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
launch(args);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?import javafx.geometry.Insets?>
|
||||||
|
<?import javafx.scene.layout.GridPane?>
|
||||||
|
|
||||||
|
<?import javafx.scene.control.Button?>
|
||||||
|
<?import javafx.scene.control.Label?>
|
||||||
|
<GridPane fx:controller="sample.Controller"
|
||||||
|
xmlns:fx="http://javafx.com/fxml" alignment="center" hgap="10" vgap="10">
|
||||||
|
</GridPane>
|
Loading…
Reference in New Issue