diff --git a/src/main/java/Enigma/GuiController.java b/src/main/java/Enigma/GuiController.java index 6fc8545808f93994f22664f6aa82bef319c96404..c9da5dbc7ee56f3512242a3c8a67f13a4f421bdd 100644 --- a/src/main/java/Enigma/GuiController.java +++ b/src/main/java/Enigma/GuiController.java @@ -3,14 +3,9 @@ package Enigma; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.control.*; -import javafx.scene.input.MouseEvent; -import javafx.scene.layout.Background; -import javafx.scene.layout.BackgroundFill; -import javafx.scene.paint.Color; +import javafx.scene.shape.Circle; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; import java.util.ArrayList; public class GuiController { @@ -99,127 +94,153 @@ public class GuiController { @FXML private Button btnO; + @FXML - private Button btnLöschen; + private MenuButton mBtnWalzPos1; @FXML - private Button btnP1; + private MenuButton mBtnWalzPos3; @FXML - private Button btnY1; + private MenuButton mBtnWalzPos2; @FXML - private Button btnX1; + private MenuButton mBtnNotchPos3; @FXML - private Button btnC1; + private MenuButton mBtnNotchPos2; @FXML - private Button btnV1; + private MenuButton mBtnStartPos1; @FXML - private Button btnB1; + private MenuButton mBtnStartPos3; @FXML - private Button btnN1; + private MenuButton mBtnStartPos2; @FXML - private Button btnM1; + private TextField tfrein; @FXML - private Button btnL1; + private TextField tfcodiert; + @FXML - private Button btnA1; + private MenuButton mBtnNotchPos1; @FXML - private Button btnS1; + private TextField tfStecker1; @FXML - private Button btnD1; + private TextField tfStecker2; @FXML - private Button btnF1; + private TextField tfStecker3; @FXML - private Button btnG1; + private TextField tfStecker4; @FXML - private Button btnH1; + private TextField tfStecker5; @FXML - private Button btnJ1; + private TextField tfStecker6; @FXML - private Button btnK1; + private TextField tfStecker7; @FXML - private Button btnQ1; + private TextField tfStecker8; @FXML - private Button btnW1; + private TextField tfStecker9; @FXML - private Button btnE1; + private TextField tfStecker10; + @FXML + private Label lblQ; @FXML - private Button btnR1; + private Label lblE; @FXML - private Button btnT1; + private Label lblW; @FXML - private Button btnZ1; + private Label lblR; @FXML - private Button btnU1; + private Label lblT; @FXML - private Button btnI1; + private Label lblZ; @FXML - private Button btnO1; + private Label lblO; + @FXML + private Label lblI; @FXML - private MenuButton mBtnWalzPos1; + private Label lblU; @FXML - private MenuButton mBtnWalzPos3; + private Label lblA; @FXML - private MenuButton mBtnWalzPos2; + private Label lblD; @FXML - private MenuButton mBtnNotchPos3; + private Label lblS; @FXML - private MenuButton mBtnNotchPos2; + private Label lblF; @FXML - private MenuButton mBtnStartPos1; + private Label lblG; @FXML - private MenuButton mBtnStartPos3; + private Label lblH; @FXML - private MenuButton mBtnStartPos2; + private Label lblK; @FXML - private TextField tfrein; + private Label lblJ; @FXML - private TextField tfcodiert; + private Label lblP; + @FXML + private Label lblX; @FXML - private MenuButton mBtnNotchPos1; + private Label lblY; @FXML - void gedrueckteTaste() { + private Label lblC; - } + @FXML + private Label lblV; + + @FXML + private Label lblB; + + @FXML + private Label lblL; + + @FXML + private Label lblM; + @FXML + private Label lblN; + + @FXML + void löschen() { + textEingabe=textEingabe.substring(0,textEingabe.length()-1); + tfrein.setText(textEingabe); + } @FXML void btnempfangen() { @@ -272,7 +293,16 @@ public class GuiController { menu(mBtnStartPos3, bs); menu(mBtnStartPos2, bs); - assert btnL != null : "fx:id=\"btnL\" was not injected: check your FXML file 'gui.fxml'."; + assert tfStecker1 != null : "fx:id=\"tfStecker1\" was not injected: check your FXML file 'gui.fxml'."; + assert tfStecker2 != null : "fx:id=\"tfStecker2\" was not injected: check your FXML file 'gui.fxml'."; + assert tfStecker3 != null : "fx:id=\"tfStecker3\" was not injected: check your FXML file 'gui.fxml'."; + assert tfStecker4 != null : "fx:id=\"tfStecker4\" was not injected: check your FXML file 'gui.fxml'."; + assert tfStecker5 != null : "fx:id=\"tfStecker5\" was not injected: check your FXML file 'gui.fxml'."; + assert tfStecker6 != null : "fx:id=\"tfStecker6\" was not injected: check your FXML file 'gui.fxml'."; + assert tfStecker7 != null : "fx:id=\"tfStecker7\" was not injected: check your FXML file 'gui.fxml'."; + assert tfStecker8 != null : "fx:id=\"tfStecker8\" was not injected: check your FXML file 'gui.fxml'."; + assert tfStecker9 != null : "fx:id=\"tfStecker9\" was not injected: check your FXML file 'gui.fxml'."; + assert tfStecker10 != null : "fx:id=\"tfStecker10\" was not injected: check your FXML file 'gui.fxml'."; assert btnP != null : "fx:id=\"btnP\" was not injected: check your FXML file 'gui.fxml'."; assert btnY != null : "fx:id=\"btnY\" was not injected: check your FXML file 'gui.fxml'."; assert btnX != null : "fx:id=\"btnX\" was not injected: check your FXML file 'gui.fxml'."; @@ -281,6 +311,7 @@ public class GuiController { assert btnB != null : "fx:id=\"btnB\" was not injected: check your FXML file 'gui.fxml'."; assert btnN != null : "fx:id=\"btnN\" was not injected: check your FXML file 'gui.fxml'."; assert btnM != null : "fx:id=\"btnM\" was not injected: check your FXML file 'gui.fxml'."; + assert btnL != null : "fx:id=\"btnL\" was not injected: check your FXML file 'gui.fxml'."; assert btnA != null : "fx:id=\"btnA\" was not injected: check your FXML file 'gui.fxml'."; assert btnS != null : "fx:id=\"btnS\" was not injected: check your FXML file 'gui.fxml'."; assert btnD != null : "fx:id=\"btnD\" was not injected: check your FXML file 'gui.fxml'."; @@ -298,7 +329,6 @@ public class GuiController { assert btnU != null : "fx:id=\"btnU\" was not injected: check your FXML file 'gui.fxml'."; assert btnI != null : "fx:id=\"btnI\" was not injected: check your FXML file 'gui.fxml'."; assert btnO != null : "fx:id=\"btnO\" was not injected: check your FXML file 'gui.fxml'."; - assert btnLöschen != null : "fx:id=\"btnLöschen\" was not injected: check your FXML file 'gui.fxml'."; assert mBtnWalzPos1 != null : "fx:id=\"mBtnWalzPos1\" was not injected: check your FXML file 'gui.fxml'."; assert mBtnWalzPos3 != null : "fx:id=\"mBtnWalzPos3\" was not injected: check your FXML file 'gui.fxml'."; assert mBtnWalzPos2 != null : "fx:id=\"mBtnWalzPos2\" was not injected: check your FXML file 'gui.fxml'."; @@ -310,68 +340,132 @@ public class GuiController { assert tfrein != null : "fx:id=\"tfrein\" was not injected: check your FXML file 'gui.fxml'."; assert tfcodiert != null : "fx:id=\"tfcodiert\" was not injected: check your FXML file 'gui.fxml'."; assert mBtnNotchPos1 != null : "fx:id=\"mBtnNotchPos1\" was not injected: check your FXML file 'gui.fxml'."; - - // ActionListener den Butten hinzufügen - btnA.setOnAction(e -> {gedrueckteTaste(e);}); - btnB.setOnAction(e -> {gedrueckteTaste(e);}); - btnC.setOnAction(e -> {gedrueckteTaste(e);}); - btnD.setOnAction(e -> {gedrueckteTaste(e);}); - btnE.setOnAction(e -> {gedrueckteTaste(e);}); - btnF.setOnAction(e -> {gedrueckteTaste(e);}); - btnG.setOnAction(e -> {gedrueckteTaste(e);}); - btnH.setOnAction(e -> {gedrueckteTaste(e);}); - btnI.setOnAction(e -> {gedrueckteTaste(e);}); - btnJ.setOnAction(e -> {gedrueckteTaste(e);}); - btnK.setOnAction(e -> {gedrueckteTaste(e);}); - btnL.setOnAction(e -> {gedrueckteTaste(e);}); - btnM.setOnAction(e -> {gedrueckteTaste(e);}); - btnN.setOnAction(e -> {gedrueckteTaste(e);}); - btnO.setOnAction(e -> {gedrueckteTaste(e);}); - btnP.setOnAction(e -> {gedrueckteTaste(e);}); - btnQ.setOnAction(e -> {gedrueckteTaste(e);}); - btnR.setOnAction(e -> {gedrueckteTaste(e);}); - btnS.setOnAction(e -> {gedrueckteTaste(e);}); - btnT.setOnAction(e -> {gedrueckteTaste(e);}); - btnU.setOnAction(e -> {gedrueckteTaste(e);}); - btnV.setOnAction(e -> {gedrueckteTaste(e);}); - btnW.setOnAction(e -> {gedrueckteTaste(e);}); - btnX.setOnAction(e -> {gedrueckteTaste(e);}); - btnY.setOnAction(e -> {gedrueckteTaste(e);}); - btnZ.setOnAction(e -> {gedrueckteTaste(e);}); + assert lblQ != null : "fx:id=\"lblQ\" was not injected: check your FXML file 'gui.fxml'."; + assert lblE != null : "fx:id=\"lblE\" was not injected: check your FXML file 'gui.fxml'."; + assert lblW != null : "fx:id=\"lblW\" was not injected: check your FXML file 'gui.fxml'."; + assert lblR != null : "fx:id=\"lblR\" was not injected: check your FXML file 'gui.fxml'."; + assert lblT != null : "fx:id=\"lblT\" was not injected: check your FXML file 'gui.fxml'."; + assert lblZ != null : "fx:id=\"lblZ\" was not injected: check your FXML file 'gui.fxml'."; + assert lblO != null : "fx:id=\"lblO\" was not injected: check your FXML file 'gui.fxml'."; + assert lblI != null : "fx:id=\"lblI\" was not injected: check your FXML file 'gui.fxml'."; + assert lblU != null : "fx:id=\"lblU\" was not injected: check your FXML file 'gui.fxml'."; + assert lblA != null : "fx:id=\"lblA\" was not injected: check your FXML file 'gui.fxml'."; + assert lblD != null : "fx:id=\"lblD\" was not injected: check your FXML file 'gui.fxml'."; + assert lblS != null : "fx:id=\"lblS\" was not injected: check your FXML file 'gui.fxml'."; + assert lblF != null : "fx:id=\"lblF\" was not injected: check your FXML file 'gui.fxml'."; + assert lblG != null : "fx:id=\"lblG\" was not injected: check your FXML file 'gui.fxml'."; + assert lblH != null : "fx:id=\"lblH\" was not injected: check your FXML file 'gui.fxml'."; + assert lblK != null : "fx:id=\"lblK\" was not injected: check your FXML file 'gui.fxml'."; + assert lblJ != null : "fx:id=\"lblJ\" was not injected: check your FXML file 'gui.fxml'."; + assert lblP != null : "fx:id=\"lblP\" was not injected: check your FXML file 'gui.fxml'."; + assert lblX != null : "fx:id=\"lblX\" was not injected: check your FXML file 'gui.fxml'."; + assert lblY != null : "fx:id=\"lblY\" was not injected: check your FXML file 'gui.fxml'."; + assert lblC != null : "fx:id=\"lblC\" was not injected: check your FXML file 'gui.fxml'."; + assert lblV != null : "fx:id=\"lblV\" was not injected: check your FXML file 'gui.fxml'."; + assert lblB != null : "fx:id=\"lblB\" was not injected: check your FXML file 'gui.fxml'."; + assert lblL != null : "fx:id=\"lblL\" was not injected: check your FXML file 'gui.fxml'."; + assert lblM != null : "fx:id=\"lblM\" was not injected: check your FXML file 'gui.fxml'."; + assert lblN != null : "fx:id=\"lblN\" was not injected: check your FXML file 'gui.fxml'."; + + leuchten(btnA, lblA); + leuchten(btnB, lblB); + leuchten(btnC,lblC); + leuchten(btnD, lblD); + leuchten(btnE, lblE); + leuchten(btnF, lblF); + leuchten(btnG, lblG); + leuchten(btnH, lblH); + leuchten(btnI, lblI); + leuchten(btnJ,lblJ); + leuchten(btnK, lblK); + leuchten(btnL, lblL); + leuchten(btnM, lblM); + leuchten(btnN, lblN); + leuchten(btnO, lblO); + leuchten(btnP, lblP); + leuchten(btnQ,lblQ); + leuchten(btnR, lblR); + leuchten(btnS, lblS); + leuchten(btnT, lblT); + leuchten(btnU, lblU); + leuchten(btnV, lblV); + leuchten(btnW, lblW); + leuchten(btnX,lblX); + leuchten(btnY, lblY); + leuchten(btnZ, lblZ); + leuchtencirc(btnA,circ); } + @FXML + private Button Q; /** * Auswertung welcher Button gedrückt wurde * @param e => ActionEvent des auslösenden Button */ - private void gedrueckteTaste(javafx.event.ActionEvent e) { + @FXML + private void gedrueckteTaste(ActionEvent e) { + //TODO Anbindung an Klasse Hardware - if (e.getSource() == btnA) System.out.println("Taste A gedrückt"); - if (e.getSource() == btnB) System.out.println("Taste B gedrückt"); - if (e.getSource() == btnC) System.out.println("Taste C gedrückt"); - if (e.getSource() == btnD) System.out.println("Taste D gedrückt"); - if (e.getSource() == btnE) System.out.println("Taste E gedrückt"); - if (e.getSource() == btnF) System.out.println("Taste F gedrückt"); - if (e.getSource() == btnG) System.out.println("Taste G gedrückt"); - if (e.getSource() == btnH) System.out.println("Taste H gedrückt"); - if (e.getSource() == btnI) System.out.println("Taste I gedrückt"); - if (e.getSource() == btnJ) System.out.println("Taste J gedrückt"); - if (e.getSource() == btnK) System.out.println("Taste K gedrückt"); - if (e.getSource() == btnL) System.out.println("Taste L gedrückt"); - if (e.getSource() == btnM) System.out.println("Taste M gedrückt"); - if (e.getSource() == btnN) System.out.println("Taste N gedrückt"); - if (e.getSource() == btnO) System.out.println("Taste O gedrückt"); - if (e.getSource() == btnP) System.out.println("Taste P gedrückt"); - if (e.getSource() == btnQ) System.out.println("Taste Q gedrückt"); - if (e.getSource() == btnR) System.out.println("Taste R gedrückt"); - if (e.getSource() == btnS) System.out.println("Taste S gedrückt"); - if (e.getSource() == btnT) System.out.println("Taste T gedrückt"); - if (e.getSource() == btnU) System.out.println("Taste U gedrückt"); - if (e.getSource() == btnV) System.out.println("Taste V gedrückt"); - if (e.getSource() == btnW) System.out.println("Taste W gedrückt"); - if (e.getSource() == btnX) System.out.println("Taste X gedrückt"); - if (e.getSource() == btnY) System.out.println("Taste Y gedrückt"); - if (e.getSource() == btnZ) System.out.println("Taste Z gedrückt"); + if (e.getSource() == btnA) setText(btnA); + if (e.getSource() == btnB) setText(btnB); + if (e.getSource() == btnC) setText(btnC); + if (e.getSource() == btnD) setText(btnD); + if (e.getSource() == btnE) setText(btnE); + if (e.getSource() == btnF) setText(btnF); + if (e.getSource() == btnG) setText(btnG); + if (e.getSource() == btnH) setText(btnH); + if (e.getSource() == btnI) setText(btnI); + if (e.getSource() == btnJ) setText(btnJ); + if (e.getSource() == btnK) setText(btnK); + if (e.getSource() == btnL) setText(btnL); + if (e.getSource() == btnM) setText(btnM); + if (e.getSource() == btnN) setText(btnN); + if (e.getSource() == btnO) setText(btnO); + if (e.getSource() == btnP) setText(btnP); + if (e.getSource() == btnQ) setText(btnQ); + if (e.getSource() == btnR) setText(btnR); + if (e.getSource() == btnS) setText(btnS); + if (e.getSource() == btnT) setText(btnT); + if (e.getSource() == btnU) setText(btnU); + if (e.getSource() == btnV) setText(btnV); + if (e.getSource() == btnW) setText(btnW); + if (e.getSource() == btnX) setText(btnX); + if (e.getSource() == btnY) setText(btnY); + if (e.getSource() == btnZ) setText(btnZ); + if (e.getSource()==Q) setText(Q); + } + /** + * schreibt Buchstaben des gedrückten Knopfes in Textfeld tfrein + * @param b : gedrückter Knopf + */ + private void setText(Button b){ + if (textEingabe.length()<250) { + textEingabe += b.getText(); + tfrein.setText(textEingabe); + } + } + + @FXML + private Circle circ; + + private void leuchtencirc(Button taste, Circle leuchte){ + taste.setOnMousePressed(mouseEvent -> { + leuchte.setStyle("-fx-fill: #FFA500"); + }); + taste.setOnMouseReleased(mouseEvent -> { + leuchte.setStyle("-fx-background-color: "+ taste.getBackground()); + leuchte.setStyle("-fx-border-color: #000000"); + }); + } + + private void leuchten(Button taste, Label leuchte){ + taste.setOnMousePressed(mouseEvent -> { + leuchte.setStyle("-fx-background-color: #FFA500"); + }); + taste.setOnMouseReleased(mouseEvent -> { + leuchte.setStyle("-fx-background-color: "+ taste.getBackground()); + // leuchte.setStyle("-fx-border-color: #000000"); + }); } /** diff --git a/src/main/resources/Enigma/gui.fxml b/src/main/resources/Enigma/gui.fxml index fc579bdc36786a3fd52f03a254a2aa3261483f3f..8e37b9ab457e5c35efd2d026799d959eeab801fc 100644 --- a/src/main/resources/Enigma/gui.fxml +++ b/src/main/resources/Enigma/gui.fxml @@ -1,65 +1,26 @@ <?xml version="1.0" encoding="UTF-8"?> <?import javafx.scene.control.Button?> -<?import javafx.scene.control.ButtonBar?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.MenuButton?> <?import javafx.scene.control.TextField?> <?import javafx.scene.layout.AnchorPane?> -<?import javafx.scene.paint.RadialGradient?> -<?import javafx.scene.paint.Stop?> +<?import javafx.scene.shape.Circle?> +<?import javafx.scene.text.Font?> <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="677.0" prefWidth="967.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="Enigma.GuiController"> <children> - <TextField fx:id="tfStecker1" layoutX="104.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="21.0" AnchorPane.leftAnchor="104.0" /> - <TextField fx:id="tfStecker2" layoutX="184.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="21.0" AnchorPane.leftAnchor="184.0" /> - <TextField fx:id="tfStecker3" layoutX="263.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="21.0" AnchorPane.leftAnchor="263.0" /> - <TextField fx:id="tfStecker4" layoutX="343.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="21.0" AnchorPane.leftAnchor="343.0" /> - <TextField fx:id="tfStecker5" layoutX="416.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="21.0" AnchorPane.leftAnchor="416.0" /> - <TextField fx:id="tfStecker6" layoutX="496.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="21.0" AnchorPane.leftAnchor="496.0" /> - <TextField fx:id="tfStecker7" layoutX="576.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="21.0" AnchorPane.leftAnchor="576.0" /> - <TextField fx:id="tfStecker8" layoutX="656.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="21.0" AnchorPane.leftAnchor="656.0" /> - <TextField fx:id="tfStecker9" layoutX="736.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="21.0" AnchorPane.leftAnchor="736.0" /> - <TextField fx:id="tfStecker10" layoutX="816.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="21.0" AnchorPane.leftAnchor="816.0" /> - <ButtonBar layoutX="-39.0" layoutY="571.0" prefHeight="36.0" prefWidth="860.0"> - <buttons> - <Button fx:id="btnP" mnemonicParsing="false" onAction="#gedrueckteTaste" text="P" /> - <Button fx:id="btnY" mnemonicParsing="false" onAction="#gedrueckteTaste" text="Y" /> - <Button fx:id="btnX" mnemonicParsing="false" onAction="#gedrueckteTaste" text="X" /> - <Button fx:id="btnC" mnemonicParsing="false" onAction="#gedrueckteTaste" text="C" /> - <Button fx:id="btnV" mnemonicParsing="false" onAction="#gedrueckteTaste" text="V" /> - <Button fx:id="btnB" mnemonicParsing="false" onAction="#gedrueckteTaste" text="B" /> - <Button fx:id="btnN" mnemonicParsing="false" onAction="#gedrueckteTaste" text="N" /> - <Button fx:id="btnM" mnemonicParsing="false" onAction="#gedrueckteTaste" text="M" /> - <Button fx:id="btnL" mnemonicParsing="false" onAction="#gedrueckteTaste" text="L" /> - </buttons> - </ButtonBar> - <ButtonBar layoutX="-87.0" layoutY="527.0" prefHeight="36.0" prefWidth="860.0"> - <buttons> - <Button fx:id="btnA" mnemonicParsing="false" onAction="#gedrueckteTaste" text="A" /> - <Button fx:id="btnS" mnemonicParsing="false" onAction="#gedrueckteTaste" text="S" /> - <Button fx:id="btnD" mnemonicParsing="false" onAction="#gedrueckteTaste" text="D" /> - <Button fx:id="btnF" mnemonicParsing="false" onAction="#gedrueckteTaste" text="F" /> - <Button fx:id="btnG" mnemonicParsing="false" onAction="#gedrueckteTaste" text="G" /> - <Button fx:id="btnH" mnemonicParsing="false" onAction="#gedrueckteTaste" text="H" /> - <Button fx:id="btnJ" mnemonicParsing="false" onAction="#gedrueckteTaste" text="J" /> - <Button fx:id="btnK" mnemonicParsing="false" onAction="#gedrueckteTaste" text="K" /> - </buttons> - </ButtonBar> - <ButtonBar layoutX="22.0" layoutY="491.0" prefHeight="25.0" prefWidth="583.0"> - <buttons> - <Button fx:id="btnQ" minWidth="13.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="25.0" text="Q" /> - <Button fx:id="btnW" mnemonicParsing="false" onAction="#gedrueckteTaste" text="W" /> - <Button fx:id="btnE" mnemonicParsing="false" onAction="#gedrueckteTaste" text="E" /> - <Button fx:id="btnR" mnemonicParsing="false" onAction="#gedrueckteTaste" text="R" /> - <Button fx:id="btnT" mnemonicParsing="false" onAction="#gedrueckteTaste" text="T" /> - <Button fx:id="btnZ" mnemonicParsing="false" onAction="#gedrueckteTaste" text="Z" /> - <Button fx:id="btnU" mnemonicParsing="false" onAction="#gedrueckteTaste" text="U" /> - <Button fx:id="btnI" mnemonicParsing="false" onAction="#gedrueckteTaste" text="I" /> - <Button fx:id="btnO" mnemonicParsing="false" onAction="#gedrueckteTaste" text="O" /> - <Button fx:id="btnLöschen" mnemonicParsing="false" text="Löschen" /> - </buttons> - </ButtonBar> + <Circle fx:id="circ1" fill="#f0f3f5" layoutX="119.0" layoutY="309.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <TextField fx:id="tfStecker1" layoutX="104.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="104.0" /> + <TextField fx:id="tfStecker2" layoutX="184.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="184.0" /> + <TextField fx:id="tfStecker3" layoutX="263.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="263.0" /> + <TextField fx:id="tfStecker4" layoutX="343.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="343.0" /> + <TextField fx:id="tfStecker5" layoutX="416.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="416.0" /> + <TextField fx:id="tfStecker6" layoutX="496.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="496.0" /> + <TextField fx:id="tfStecker7" layoutX="576.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="576.0" /> + <TextField fx:id="tfStecker8" layoutX="656.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="656.0" /> + <TextField fx:id="tfStecker9" layoutX="736.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="736.0" /> + <TextField fx:id="tfStecker10" layoutX="816.0" layoutY="631.0" prefHeight="25.0" prefWidth="48.0" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="816.0" AnchorPane.rightAnchor="103.0" /> <MenuButton fx:id="mBtnWalzPos1" alignment="CENTER_RIGHT" contentDisplay="CENTER" layoutX="91.0" layoutY="76.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="48.0" text="I" AnchorPane.leftAnchor="90.0" AnchorPane.topAnchor="80.0"> </MenuButton> <MenuButton fx:id="mBtnWalzPos3" alignment="CENTER_RIGHT" layoutX="208.0" layoutY="80.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="48.0" text="I" textAlignment="CENTER" AnchorPane.leftAnchor="210.0" AnchorPane.topAnchor="80.0"> @@ -108,58 +69,301 @@ </MenuButton> <TextField fx:id="tfrein" editable="false" layoutX="279.0" layoutY="76.0" prefHeight="77.0" prefWidth="410.0" /> <TextField fx:id="tfcodiert" editable="false" layoutX="279.0" layoutY="183.0" prefHeight="77.0" prefWidth="410.0" /> - <Button layoutX="726.0" layoutY="187.0" mnemonicParsing="false" onAction="#btnsenden" prefHeight="69.0" prefWidth="164.0" text="An Funker senden" /> - <Button layoutX="726.0" layoutY="80.0" mnemonicParsing="false" onAction="#btnempfangen" prefHeight="69.0" prefWidth="164.0" text="Funkspruch empfangen" /> + <Button layoutX="726.0" layoutY="187.0" mnemonicParsing="false" onAction="#btnsenden" prefHeight="69.0" prefWidth="164.0" text="An Funker senden" AnchorPane.rightAnchor="77.0" /> + <Button layoutX="726.0" layoutY="80.0" mnemonicParsing="false" onAction="#btnempfangen" prefHeight="69.0" prefWidth="164.0" text="Funkspruch empfangen" AnchorPane.rightAnchor="77.0" /> <MenuButton fx:id="mBtnNotchPos1" alignment="CENTER_RIGHT" layoutX="93.0" layoutY="114.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="48.0" text="1" textAlignment="CENTER" AnchorPane.leftAnchor="90.0" AnchorPane.topAnchor="120.0" /> <Label layoutX="29.0" layoutY="80.0" text="Walze" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="84.0" /> <Label layoutX="29.0" layoutY="127.0" text="Ringe" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="124.0" /> <Label layoutX="17.0" layoutY="164.0" text="Startposition" AnchorPane.leftAnchor="17.0" AnchorPane.topAnchor="164.0" /> <Label layoutX="380.0" layoutY="27.0" prefHeight="17.0" prefWidth="172.0" text="Tageseinstellungen" /> - <ButtonBar layoutX="-15.0" layoutY="408.0" prefHeight="36.0" prefWidth="860.0"> - <buttons> - <Button fx:id="btnP1" mnemonicParsing="false" onAction="#leuchtTaste" text="P" /> - <Button fx:id="btnY1" mnemonicParsing="false" onAction="#leuchtTaste" text="Y" /> - <Button fx:id="btnX1" mnemonicParsing="false" onAction="#leuchtTaste" text="X" /> - <Button fx:id="btnC1" mnemonicParsing="false" onAction="#leuchtTaste" text="C" /> - <Button fx:id="btnV1" mnemonicParsing="false" onAction="#leuchtTaste" text="V" /> - <Button fx:id="btnB1" mnemonicParsing="false" onAction="#leuchtTaste" text="B" /> - <Button fx:id="btnN1" mnemonicParsing="false" onAction="#leuchtTaste" text="N" /> - <Button fx:id="btnM1" mnemonicParsing="false" onAction="#leuchtTaste" text="M" /> - <Button fx:id="btnL1" mnemonicParsing="false" onAction="#leuchtTaste" text="L" /> - </buttons> - </ButtonBar> - <ButtonBar layoutX="-63.0" layoutY="364.0" prefHeight="36.0" prefWidth="860.0"> - <buttons> - <Button fx:id="btnA1" mnemonicParsing="false" onAction="#leuchtTaste" text="A" /> - <Button fx:id="btnS1" mnemonicParsing="false" onAction="#leuchtTaste" text="S" /> - <Button fx:id="btnD1" mnemonicParsing="false" onAction="#leuchtTaste" text="D"> - <textFill> - <RadialGradient centerX="0.5" centerY="0.5" radius="0.5"> - <stops> - <Stop color="BLACK" /> - <Stop color="WHITE" offset="1.0" /> - </stops> - </RadialGradient> - </textFill></Button> - <Button fx:id="btnF1" mnemonicParsing="false" onAction="#leuchtTaste" text="F" /> - <Button fx:id="btnG1" mnemonicParsing="false" onAction="#leuchtTaste" text="G" /> - <Button fx:id="btnH1" mnemonicParsing="false" onAction="#leuchtTaste" text="H" /> - <Button fx:id="btnJ1" mnemonicParsing="false" onAction="#leuchtTaste" text="J" /> - <Button fx:id="btnK1" mnemonicParsing="false" onAction="#leuchtTaste" text="K" /> - </buttons> - </ButtonBar> - <ButtonBar layoutX="46.0" layoutY="328.0" prefHeight="25.0" prefWidth="583.0"> - <buttons> - <Button fx:id="btnQ1" disable="true" minWidth="26.0" mnemonicParsing="false" onAction="#leuchtTaste" prefHeight="25.0" text="Q" textFill="#544d4d" /> - <Button fx:id="btnW1" mnemonicParsing="false" onAction="#leuchtTaste" text="W" /> - <Button fx:id="btnE1" mnemonicParsing="false" onAction="#leuchtTaste" text="E" /> - <Button fx:id="btnR1" mnemonicParsing="false" onAction="#leuchtTaste" text="R" /> - <Button fx:id="btnT1" mnemonicParsing="false" onAction="#leuchtTaste" text="T" /> - <Button fx:id="btnZ1" mnemonicParsing="false" onAction="#leuchtTaste" text="Z" /> - <Button fx:id="btnU1" mnemonicParsing="false" onAction="#leuchtTaste" text="U" /> - <Button fx:id="btnI1" mnemonicParsing="false" onAction="#leuchtTaste" text="I" /> - <Button fx:id="btnO1" mnemonicParsing="false" onAction="#leuchtTaste" text="O" /> - </buttons> - </ButtonBar> + <Label fx:id="lblE" alignment="CENTER" layoutX="198.0" layoutY="291.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="E" textAlignment="CENTER" AnchorPane.bottomAnchor="350.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblW" alignment="CENTER" layoutX="99.0" layoutY="343.0" prefHeight="36.0" prefWidth="30.0" text="W" AnchorPane.bottomAnchor="298.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblR" alignment="CENTER" layoutX="279.0" layoutY="291.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="R" textAlignment="CENTER" AnchorPane.bottomAnchor="350.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblT" alignment="CENTER" layoutX="365.0" layoutY="291.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="T" textAlignment="CENTER" AnchorPane.bottomAnchor="350.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblZ" alignment="CENTER" layoutX="449.0" layoutY="291.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="Z" textAlignment="CENTER" AnchorPane.bottomAnchor="350.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblO" alignment="CENTER" layoutX="704.0" layoutY="291.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="O" textAlignment="CENTER" AnchorPane.bottomAnchor="350.0" AnchorPane.rightAnchor="233.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblI" alignment="CENTER" layoutX="613.0" layoutY="281.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="I" textAlignment="CENTER" AnchorPane.bottomAnchor="350.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblU" alignment="CENTER" layoutX="537.0" layoutY="291.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="U" textAlignment="CENTER" AnchorPane.bottomAnchor="350.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblA" alignment="CENTER" layoutX="144.0" layoutY="357.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="A" AnchorPane.bottomAnchor="290.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblD" alignment="CENTER" layoutX="311.0" layoutY="357.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="D" AnchorPane.bottomAnchor="290.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblS" alignment="CENTER" layoutX="233.0" layoutY="357.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="S" AnchorPane.bottomAnchor="290.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblF" alignment="CENTER" layoutX="401.0" layoutY="357.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="F" AnchorPane.bottomAnchor="290.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblG" alignment="CENTER" layoutX="484.0" layoutY="357.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="G" AnchorPane.bottomAnchor="290.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblH" alignment="CENTER" layoutX="576.0" layoutY="357.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="H" AnchorPane.bottomAnchor="290.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblK" alignment="CENTER" layoutX="745.0" layoutY="357.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="K" AnchorPane.bottomAnchor="290.0" AnchorPane.rightAnchor="192.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblJ" alignment="CENTER" layoutX="656.0" layoutY="357.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="J" AnchorPane.bottomAnchor="290.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblP" alignment="CENTER" layoutX="99.0" layoutY="427.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="P" AnchorPane.bottomAnchor="220.0" AnchorPane.leftAnchor="99.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblX" alignment="CENTER" layoutX="272.0" layoutY="427.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="X" AnchorPane.bottomAnchor="220.0" AnchorPane.leftAnchor="272.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblY" alignment="CENTER" layoutX="183.0" layoutY="427.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="Y" AnchorPane.bottomAnchor="220.0" AnchorPane.leftAnchor="183.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblC" alignment="CENTER" layoutX="355.0" layoutY="427.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="C" AnchorPane.bottomAnchor="220.0" AnchorPane.leftAnchor="355.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblV" alignment="CENTER" layoutX="445.0" layoutY="427.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="V" AnchorPane.bottomAnchor="220.0" AnchorPane.leftAnchor="445.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblB" alignment="CENTER" layoutX="529.0" layoutY="427.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="B" AnchorPane.bottomAnchor="220.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblL" alignment="CENTER" layoutX="784.0" layoutY="427.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="L" AnchorPane.bottomAnchor="220.0" AnchorPane.rightAnchor="153.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblM" alignment="CENTER" layoutX="689.0" layoutY="427.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="M" AnchorPane.bottomAnchor="220.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Label fx:id="lblN" alignment="CENTER" layoutX="609.0" layoutY="427.0" minHeight="0.0" prefHeight="30.0" prefWidth="30.0" style="-fx-border-color: #000000;" text="N" AnchorPane.bottomAnchor="220.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Button fx:id="btnQ" layoutX="162.0" layoutY="466.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="Q" textFill="#fffdfd"> + <font> + <Font name="System Bold" size="18.0" /> + </font></Button> + <Circle fx:id="circ" fill="#f0f3f5" layoutX="52.0" layoutY="361.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Label fx:id="lblQ" alignment="CENTER" layoutX="37.0" layoutY="394.0" prefHeight="30.0" prefWidth="30.0" text="Q" AnchorPane.bottomAnchor="249.0"> + <font> + <Font size="23.0" /> + </font> + </Label> + <Button fx:id="btnW" layoutX="251.0" layoutY="466.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="W" textFill="#fffdfd"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnE" layoutX="314.0" layoutY="466.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="E" textFill="#fffdfd"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnR" layoutX="389.0" layoutY="466.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="R" textFill="#fffdfd"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnT" layoutX="463.0" layoutY="466.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="T" textFill="#fffdfd"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnZ" layoutX="547.0" layoutY="466.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="Z" textFill="#fffdfd"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnU" layoutX="631.0" layoutY="466.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="U" textFill="#fffdfd"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnI" layoutX="714.0" layoutY="466.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="I" textFill="#fffdfd"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnO" layoutX="799.0" layoutY="466.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="O" textFill="#fffdfd"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button layoutX="856.0" layoutY="516.0" mnemonicParsing="false" onAction="#löschen" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="<" textFill="#fffdfd"> + <font> + <Font size="18.0" /> + </font> + </Button> + <Button fx:id="btnP" layoutX="162.0" layoutY="576.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="P" textFill="#fffdfd" AnchorPane.bottomAnchor="57.0" AnchorPane.leftAnchor="162.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnY" layoutX="236.0" layoutY="576.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="Y" textFill="#fffdfd" AnchorPane.bottomAnchor="57.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnX" layoutX="314.0" layoutY="576.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="X" textFill="#fffdfd" AnchorPane.bottomAnchor="57.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnC" layoutX="389.0" layoutY="576.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="C" textFill="#fffdfd" AnchorPane.bottomAnchor="57.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnV" layoutX="472.0" layoutY="576.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="V" textFill="#fffdfd" AnchorPane.bottomAnchor="57.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnB" layoutX="554.0" layoutY="576.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="B" textFill="#fffdfd" AnchorPane.bottomAnchor="57.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnN" layoutX="631.0" layoutY="576.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="N" textFill="#fffdfd" AnchorPane.bottomAnchor="57.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnM" layoutX="714.0" layoutY="576.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="M" textFill="#fffdfd" AnchorPane.bottomAnchor="57.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnL" layoutX="777.0" layoutY="576.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="L" textFill="#fffdfd" AnchorPane.bottomAnchor="57.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnA" layoutX="201.0" layoutY="516.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="A" textFill="#fffdfd" AnchorPane.bottomAnchor="117.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnS" layoutX="282.0" layoutY="516.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="S" textFill="#fffdfd" AnchorPane.bottomAnchor="117.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnD" layoutX="353.0" layoutY="516.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="D" textFill="#fffdfd" AnchorPane.bottomAnchor="117.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnF" layoutX="428.0" layoutY="516.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="F" textFill="#fffdfd" AnchorPane.bottomAnchor="117.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnG" layoutX="508.0" layoutY="516.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="G" textFill="#fffdfd" AnchorPane.bottomAnchor="117.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnH" layoutX="588.0" layoutY="516.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="H" textFill="#fffdfd" AnchorPane.bottomAnchor="117.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnJ" layoutX="668.0" layoutY="516.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="J" textFill="#fffdfd" AnchorPane.bottomAnchor="117.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Button fx:id="btnK" layoutX="738.0" layoutY="516.0" mnemonicParsing="false" onAction="#gedrueckteTaste" prefHeight="44.0" prefWidth="44.0" style="-fx-background-radius: 100; -fx-background-color: #0d0d0d;" text="K" textFill="#fffdfd" AnchorPane.bottomAnchor="117.0"> + <font> + <Font name="System Bold" size="18.0" /> + </font> + </Button> + <Circle fx:id="circ2" fill="#f0f3f5" layoutX="213.0" layoutY="309.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ3" fill="#f0f3f5" layoutX="294.0" layoutY="309.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ4" fill="#f0f3f5" layoutX="380.0" layoutY="309.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ5" fill="#f0f3f5" layoutX="463.0" layoutY="309.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ6" fill="#f0f3f5" layoutX="552.0" layoutY="309.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ7" fill="#f0f3f5" layoutX="628.0" layoutY="309.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ8" fill="#f0f3f5" layoutX="719.0" layoutY="309.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ9" fill="#f0f3f5" layoutX="159.0" layoutY="372.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ10" fill="#f0f3f5" layoutX="248.0" layoutY="372.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ11" fill="#f0f3f5" layoutX="326.0" layoutY="372.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ12" fill="#f0f3f5" layoutX="416.0" layoutY="372.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ13" fill="#f0f3f5" layoutX="499.0" layoutY="372.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ14" fill="#f0f3f5" layoutX="591.0" layoutY="372.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ15" fill="#f0f3f5" layoutX="671.0" layoutY="372.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ16" fill="#f0f3f5" layoutX="760.0" layoutY="372.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ17" fill="#f0f3f5" layoutX="114.0" layoutY="442.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ18" fill="#f0f3f5" layoutX="198.0" layoutY="442.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ19" fill="#f0f3f5" layoutX="287.0" layoutY="442.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ20" fill="#f0f3f5" layoutX="370.0" layoutY="442.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ21" fill="#f0f3f5" layoutX="463.0" layoutY="442.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ22" fill="#f0f3f5" layoutX="547.0" layoutY="442.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ23" fill="#f0f3f5" layoutX="624.0" layoutY="442.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ24" fill="#f0f3f5" layoutX="704.0" layoutY="442.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> + <Circle fx:id="circ25" fill="#f0f3f5" layoutX="799.0" layoutY="442.0" radius="22.0" stroke="BLACK" strokeType="INSIDE" /> </children> </AnchorPane>