Renamed the project
parent
df6e40e385
commit
81dcdf6f25
|
@ -1,4 +0,0 @@
|
||||||
package sample;
|
|
||||||
|
|
||||||
public class Controller {
|
|
||||||
}
|
|
|
@ -1,23 +0,0 @@
|
||||||
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);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
<?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