From adb2019f0f1f6505f2b5de4bace4abecc674e8a1 Mon Sep 17 00:00:00 2001 From: Adah Boukhari Date: Sat, 8 Feb 2020 21:50:23 +0100 Subject: [PATCH] Commit_44 (klicke L um die Eintraege zu leeren) KeyListener --- .../bin/MeinBudgetView/MeinGui.class | Bin 8042 -> 7849 bytes .../src/MeinBudgetView/MeinGui.java | 25 +++++++----------- Command.txt | 3 +++ 3 files changed, 13 insertions(+), 15 deletions(-) create mode 100644 Command.txt diff --git a/Budget Projekt/bin/MeinBudgetView/MeinGui.class b/Budget Projekt/bin/MeinBudgetView/MeinGui.class index 5594c82836097c4e4a7c4e3989ba87216c608cf4..f6f65bc5e5e9e0500e13dce8dbb1219cc08ed5d3 100644 GIT binary patch delta 272 zcmaE5x6)SN)W2Q(7#JAL7^kr_FflTSP2R{Ywo&bZz~)JUM%-pq3`{^t1_rxL42438 z+Zb~fp7=3-!E_zR?g001f6FS-B# delta 444 zcmXAjO-mb56o%h-YLhsIno=53CTZeVO)W%R*rM1?OTf~iAh;~v>LrPcGwMu@8*#0; zu~WZWt1EGt2tkUt>8`6##2?Wg&|RfR<}B`WKJI<)IUD`+D)H;~#}$AfoilnFuw}r9A*%x~YglBR^EFgLGz4Qc{0?y);)cNotFt}I z`*^?z9y1DyF?6vR&uHSs`Mx#HwN-K6S^N9z+)S9q=oWdM!*zZ>LTe3;3l>Cvin#P2 zar=V1Rk?nTmYf}k0PI0Cd&U10Y4#z@ocNzJCG%vcW|~i=l25qK4Ui?tn_y&P;^DVo aBHhWsppi 0) { - budgetDispaly.setText(setBudgetView()); - } else { - JOptionPane.showMessageDialog(text1, "Füllen Sie alle Felder aus!"); - } + if (e.getKeyCode() == KeyEvent.VK_L) { + leeren(); } } @Override public void keyReleased(KeyEvent e) { // TODO Auto-generated method stub - + } } diff --git a/Command.txt b/Command.txt new file mode 100644 index 0000000..f5253bd --- /dev/null +++ b/Command.txt @@ -0,0 +1,3 @@ +Befehle: + +L: Alle Einträge leeren