created GUI Main and AddParticipant
This commit is contained in:
parent
d641d2f2ea
commit
2245568edf
|
@ -34,6 +34,5 @@ public class MainWindow extends Application {
|
|||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,6 +18,9 @@ public class MainWindowController {
|
|||
@FXML
|
||||
private Button createBtn;
|
||||
|
||||
@FXML
|
||||
private MenuItem germanSelect;
|
||||
|
||||
@FXML
|
||||
private GridPane grid;
|
||||
|
||||
|
@ -36,9 +39,6 @@ public class MainWindowController {
|
|||
@FXML
|
||||
private Button openBtn;
|
||||
|
||||
@FXML
|
||||
private MenuItem setLan;
|
||||
|
||||
@FXML
|
||||
private Label tournierListTitle;
|
||||
|
||||
|
@ -51,6 +51,11 @@ public class MainWindowController {
|
|||
@FXML
|
||||
private Label turnierNameLabel;
|
||||
|
||||
@FXML
|
||||
void changeLangToGerman(ActionEvent event) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void closeApplication(ActionEvent event) {
|
||||
|
||||
|
|
|
@ -34,6 +34,9 @@ public class participantFormularController {
|
|||
@FXML
|
||||
private TextField firstNameTextField;
|
||||
|
||||
@FXML
|
||||
private MenuItem germanSelect;
|
||||
|
||||
@FXML
|
||||
private GridPane grid;
|
||||
|
||||
|
@ -71,10 +74,12 @@ public class participantFormularController {
|
|||
private Button saveBtn;
|
||||
|
||||
@FXML
|
||||
private MenuItem setLan;
|
||||
void addParticipant(ActionEvent event) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void addParticipant(ActionEvent event) {
|
||||
void changeLangToGerman(ActionEvent event) {
|
||||
|
||||
}
|
||||
|
||||
|
@ -94,4 +99,3 @@ public class participantFormularController {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,11 @@
|
|||
<menus>
|
||||
<Menu mnemonicParsing="false" text="Start">
|
||||
<items>
|
||||
<MenuItem fx:id="setLan" mnemonicParsing="false" text="Sprache wählen" />
|
||||
<Menu mnemonicParsing="false" text="Sprache wählen">
|
||||
<items>
|
||||
<MenuItem fx:id="germanSelect" mnemonicParsing="false" onAction="#changeLangToGerman" text="Deutsch" />
|
||||
</items>
|
||||
</Menu>
|
||||
<MenuItem fx:id="closeBtn" mnemonicParsing="false" onAction="#closeApplication" text="Close" />
|
||||
</items>
|
||||
</Menu>
|
||||
|
|
|
@ -25,7 +25,11 @@
|
|||
<menus>
|
||||
<Menu mnemonicParsing="false" text="Start">
|
||||
<items>
|
||||
<MenuItem fx:id="setLan" mnemonicParsing="false" text="Sprache wählen" />
|
||||
<Menu mnemonicParsing="false" text="Sprache wählen">
|
||||
<items>
|
||||
<MenuItem fx:id="germanSelect" mnemonicParsing="false" onAction="#changeLangToGerman" text="Deutsch" />
|
||||
</items>
|
||||
</Menu>
|
||||
<MenuItem fx:id="closeBtn" mnemonicParsing="false" onAction="#closeApplication" text="Close" />
|
||||
</items>
|
||||
</Menu>
|
||||
|
|
Loading…
Reference in New Issue