From 7dd524841709f2d6778b8e8abf2b6ee46c985535 Mon Sep 17 00:00:00 2001 From: eduardD Date: Sun, 9 Feb 2020 20:55:55 +0100 Subject: [PATCH] =?UTF-8?q?L=C3=B6schen=20der=20Eingabe=20Texte=20nach=20b?= =?UTF-8?q?erechnen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bin/MeinBudgetView/LoginFrame.class | Bin 4801 -> 4801 bytes .../bin/MeinBudgetView/MeinGui$1.class | Bin 1110 -> 1110 bytes .../bin/MeinBudgetView/MeinGui.class | Bin 8794 -> 9480 bytes .../bin/MeinBudgetView/MyTest.class | Bin 2362 -> 2362 bytes .../src/MeinBudgetView/MeinGui.java | 15 ++++++--------- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Budget Projekt/bin/MeinBudgetView/LoginFrame.class b/Budget Projekt/bin/MeinBudgetView/LoginFrame.class index b56d6dbbf47790c0c4b4b4cb63de85ea6cfb1500..400d1718277e5aecbd358a9235c42704db3e618d 100644 GIT binary patch delta 17 ZcmX@8dQg?))W2Q(7#J9gHgfC~0susv2Fm~d delta 17 ZcmX@8dQg?))W2Q(7#JALHgfC~0sus@2G0Nh diff --git a/Budget Projekt/bin/MeinBudgetView/MeinGui$1.class b/Budget Projekt/bin/MeinBudgetView/MeinGui$1.class index ec1aa8f1763c58e6ea2661676c5111c2d14b229f..c185614db7e6e7e8883c690b916b19c26f4052a1 100644 GIT binary patch delta 37 tcmcb{agAd`GBYm=12-cpgDfLAg9;%yp$jd=^1S1;kcyfAoTf3cE9Jkli>hhfKco058`Ks93*!tS^x_Gj^ zcJ8dMSce@%KrmL}wXt=XT6?XX%+yY6&BRm5`gl5HC+)5vLW0o)Q0Cbia^D4|t*InY zGv~&VwqRI&(KZT9OcnSu_WI26f>Fhvn+Tm1w-aqSlqrHpBGzIjoI}j%h_xTev|bTN zQEo8n)_2;;w4HWw9pLm>B9?5mGcGV{FdJiQdG;LQPy?GC>+Z~91=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EV;NsBU=+ja1stTklr;6pN$X_(T9h~OS*)c`7BE})Nh~Mr zYjJ~18C!#uhB9L)J58*1JSR(=M){w?MJ){f?PSG>=DNePPdb}(a%PWo7eF2B_#w*+ z-)-ykjaGwl8IC~=$*3HFz2!g*lY_9IjKF9ai9?BbxQxMcnsYu4c?wOqfW~W;BN(A9 zkK;UMcClPS<1Ii?E|tqD_ci?E+2u?K9(<68$(6*cLRmBtsPp6iIPx;JDVEj1sNOqxTa1$)XV7%mGiLQcgYavF}7({a3< z0lwid(Z-OG)}pgz-LsYH`<8pQk>+H8-`gkm_iq-a{`eR`1uZfR_{EzM-@jb4YjmAI zC;Weu@V}jM49dB2oEtAeNS4w%2~rWRm7MNL@wiL=Bf?st&FSWQHo05IeENFeo)|ZsgLsteD^Hy^{`m# Q(bn_2saIZ+2uJ?>4?9Fj>Hq)$ diff --git a/Budget Projekt/bin/MeinBudgetView/MyTest.class b/Budget Projekt/bin/MeinBudgetView/MyTest.class index d118b035a92158f056e9c266c26709465f4e5887..24a670766ac3b5ee28088836256b26cae3917d84 100644 GIT binary patch delta 174 zcmdlbv`dKN)W2Q(7#J9gHgXs{vw7JzVr7#X;r@<8d$!OYKD0e?3;G5`Po delta 174 zcmdlbv`dKN)W2Q(7#JALHgXs3hI1OV*-3qZI*j0{{*d7$*>VCLtn0OS!imjD0& diff --git a/Budget Projekt/src/MeinBudgetView/MeinGui.java b/Budget Projekt/src/MeinBudgetView/MeinGui.java index 1ef568e..0157dc5 100644 --- a/Budget Projekt/src/MeinBudgetView/MeinGui.java +++ b/Budget Projekt/src/MeinBudgetView/MeinGui.java @@ -284,12 +284,9 @@ public class MeinGui extends JFrame implements ActionListener, KeyListener { loeschen.addActionListener(this); loeschen.addKeyListener(this); exit.addActionListener(this); -<<<<<<< HEAD exit.addKeyListener(this); -======= hinzufuegen.addActionListener(this); erspartesLoeschen.addActionListener(this); ->>>>>>> e9471140ef0f8da1cd53473243a925d48bd272c1 } @@ -329,6 +326,9 @@ public class MeinGui extends JFrame implements ActionListener, KeyListener { expenses += Double.parseDouble(text2.getText()); expensesDisplay.setText(setExpensesView()); balanceDisplay.setText(setBalanceView()); + textExpensesName.setText(null); + text2.setText(null); + } catch (Exception e) { showMessageDialog(null, "Sie müssen ihre Ausgabe eingeben!"); @@ -369,14 +369,12 @@ public class MeinGui extends JFrame implements ActionListener, KeyListener { } public static void leeren() { -<<<<<<< HEAD text1.setText(""); text2.setText(""); - budgetDispaly.setText("0.0 €"); - expensesDisplay.setText("0.0 €"); - balanceDisplay.setText("0.0 €"); + budgetDispaly.setText("0.0 �"); + expensesDisplay.setText("0.0 �"); + balanceDisplay.setText("0.0 �"); textExpensesName.setText(""); -======= budget = 0.0; expenses = 0.0; balance = 0.0; @@ -386,7 +384,6 @@ public class MeinGui extends JFrame implements ActionListener, KeyListener { expensesDisplay.setText("0.0 \u20AC"); balanceDisplay.setText("0.0 \u20AC"); textExpensesName.setText(null); ->>>>>>> e9471140ef0f8da1cd53473243a925d48bd272c1 ((DefaultTableModel) myTable.getModel()).setRowCount(0); }