From fa1b26c226848ced160b6ce1e1045a0c3cf04614 Mon Sep 17 00:00:00 2001 From: Jan <janschubert93@web.de> Date: Thu, 28 Nov 2019 14:43:07 +0100 Subject: [PATCH] Runde Tasten und Leuchtfelder. --- src/main/java/Enigma/GuiController.java | 295 ++++++++--------- src/main/resources/Enigma/gui.fxml | 404 ++++++++++++++++++------ 2 files changed, 439 insertions(+), 260 deletions(-) diff --git a/src/main/java/Enigma/GuiController.java b/src/main/java/Enigma/GuiController.java index c94198e..0863623 100644 --- a/src/main/java/Enigma/GuiController.java +++ b/src/main/java/Enigma/GuiController.java @@ -7,6 +7,7 @@ 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.util.ArrayList; @@ -97,165 +98,154 @@ public class GuiController { @FXML private Button btnO; - @FXML - private Button btnLöschen; @FXML - private Button btnP1; + private MenuButton mBtnWalzPos1; @FXML - private Button btnY1; + private MenuButton mBtnWalzPos3; @FXML - private Button btnX1; + private MenuButton mBtnWalzPos2; @FXML - private Button btnC1; + private MenuButton mBtnNotchPos3; @FXML - private Button btnV1; + private MenuButton mBtnNotchPos2; @FXML - private Button btnB1; + private MenuButton mBtnStartPos1; @FXML - private Button btnN1; + private MenuButton mBtnStartPos3; @FXML - private Button btnM1; + private MenuButton mBtnStartPos2; @FXML - private Button btnL1; + private TextField tfrein; @FXML - private Button btnA1; + private TextField tfcodiert; - @FXML - private Button btnS1; @FXML - private Button btnD1; + private MenuButton mBtnNotchPos1; @FXML - private Button btnF1; + private TextField tfStecker1; @FXML - private Button btnG1; + private TextField tfStecker2; @FXML - private Button btnH1; + private TextField tfStecker3; @FXML - private Button btnJ1; + private TextField tfStecker4; @FXML - private Button btnK1; + private TextField tfStecker5; @FXML - private Button btnQ1; + private TextField tfStecker6; @FXML - private Button btnW1; + private TextField tfStecker7; @FXML - private Button btnE1; + private TextField tfStecker8; @FXML - private Button btnR1; + private TextField tfStecker9; @FXML - private Button btnT1; - + private TextField tfStecker10; @FXML - private Button btnZ1; + private Label lblQ; @FXML - private Button btnU1; + private Label lblE; @FXML - private Button btnI1; + private Label lblW; @FXML - private Button btnO1; - + private Label lblR; @FXML - private MenuButton mBtnWalzPos1; + private Label lblT; @FXML - private MenuButton mBtnWalzPos3; + private Label lblZ; @FXML - private MenuButton mBtnWalzPos2; + private Label lblO; @FXML - private MenuButton mBtnNotchPos3; + private Label lblI; @FXML - private MenuButton mBtnNotchPos2; + private Label lblU; @FXML - private MenuButton mBtnStartPos1; + private Label lblA; @FXML - private MenuButton mBtnStartPos3; + private Label lblD; @FXML - private MenuButton mBtnStartPos2; + private Label lblS; @FXML - private TextField tfrein; + private Label lblF; @FXML - private TextField tfcodiert; - + private Label lblG; @FXML - private MenuButton mBtnNotchPos1; + private Label lblH; @FXML - private TextField tfStecker1; + private Label lblK; @FXML - private TextField tfStecker2; + private Label lblJ; @FXML - private TextField tfStecker3; + private Label lblP; @FXML - private TextField tfStecker4; + private Label lblX; @FXML - private TextField tfStecker5; + private Label lblY; @FXML - private TextField tfStecker6; + private Label lblC; @FXML - private TextField tfStecker7; + private Label lblV; @FXML - private TextField tfStecker8; + private Label lblB; @FXML - private TextField tfStecker9; + private Label lblL; @FXML - private TextField tfStecker10; + private Label lblM; @FXML - void leuchtTaste(MouseEvent e) { - while (e.getSource() == btnA){ - - btnA1.setStyle("-fx-background-color: #ff0000"); + private Label lblN; - // setText(btnA); + @FXML + void löschen() { + textEingabe=textEingabe.substring(0,textEingabe.length()-1); + tfrein.setText(textEingabe); } - - } - - @FXML void btnempfangen() { } @@ -307,7 +297,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'."; @@ -316,6 +315,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'."; @@ -333,7 +333,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'."; @@ -345,107 +344,69 @@ 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);}); - - - btnA.setOnMouseEntered (e->{ - leuchtTaste(e); - }); - - btnA1.setOnMouseDragEntered (e -> {leuchtTaste(e);}); - btnB1.setOnAction(e -> {gedrueckteTaste(e);}); - btnC1.setOnAction(e -> {gedrueckteTaste(e);}); - btnD1.setOnAction(e -> {gedrueckteTaste(e);}); - btnE1.setOnAction(e -> {gedrueckteTaste(e);}); - btnF1.setOnAction(e -> {gedrueckteTaste(e);}); - btnG1.setOnAction(e -> {gedrueckteTaste(e);}); - btnH1.setOnAction(e -> {gedrueckteTaste(e);}); - btnI1.setOnAction(e -> {gedrueckteTaste(e);}); - btnJ1.setOnAction(e -> {gedrueckteTaste(e);}); - btnK1.setOnAction(e -> {gedrueckteTaste(e);}); - btnL1.setOnAction(e -> {gedrueckteTaste(e);}); - btnM1.setOnAction(e -> {gedrueckteTaste(e);}); - btnN1.setOnAction(e -> {gedrueckteTaste(e);}); - btnO1.setOnAction(e -> {gedrueckteTaste(e);}); - btnP1.setOnAction(e -> {gedrueckteTaste(e);}); - btnQ1.setOnAction(e -> {gedrueckteTaste(e);}); - btnR1.setOnAction(e -> {gedrueckteTaste(e);}); - btnS1.setOnAction(e -> {gedrueckteTaste(e);}); - btnT1.setOnAction(e -> {gedrueckteTaste(e);}); - btnU1.setOnAction(e -> {gedrueckteTaste(e);}); - btnV1.setOnAction(e -> {gedrueckteTaste(e);}); - btnW1.setOnAction(e -> {gedrueckteTaste(e);}); - btnX1.setOnAction(e -> {gedrueckteTaste(e);}); - btnY1.setOnAction(e -> {gedrueckteTaste(e);}); - btnZ1.setOnAction(e -> {gedrueckteTaste(e);});*/ - - leuchten(btnA, btnA1); - leuchten(btnB, btnB1); - leuchten(btnC,btnC1); - leuchten(btnD, btnD1); - leuchten(btnE, btnE1); - leuchten(btnF, btnF1); - leuchten(btnG, btnG1); - leuchten(btnH, btnH1); - leuchten(btnI, btnI1); - leuchten(btnJ,btnJ1); - leuchten(btnK, btnK1); - leuchten(btnL, btnL1); - leuchten(btnM, btnM1); - leuchten(btnN, btnN1); - leuchten(btnO, btnO1); - leuchten(btnP, btnP1); - leuchten(btnQ,btnQ1); - leuchten(btnR, btnR1); - leuchten(btnS, btnS1); - leuchten(btnT, btnT1); - leuchten(btnU, btnU1); - leuchten(btnV, btnV1); - leuchten(btnW, btnW1); - leuchten(btnX,btnX1); - leuchten(btnY, btnY1); - leuchten(btnZ, btnZ1); + 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 */ @FXML - // private void gedrueckteTaste(javafx.event.ActionEvent e) { - - private void gedrueckteTaste(ActionEvent e) { //TODO Anbindung an Klasse Hardware @@ -475,6 +436,7 @@ public class GuiController { 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 @@ -487,13 +449,26 @@ public class GuiController { } } - private void leuchten(Button taste, Button leuchte){ + @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 -> { - //btnA1.setBackground(Background.EMPTY); 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 fc579bd..8e37b9a 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> -- GitLab