Browse Source

Löschen der Eingabe Texte nach berechnen

master^2
eduardD 5 years ago
parent
commit
7dd5248417
  1. BIN
      Budget Projekt/bin/MeinBudgetView/LoginFrame.class
  2. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui$1.class
  3. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui.class
  4. BIN
      Budget Projekt/bin/MeinBudgetView/MyTest.class
  5. 15
      Budget Projekt/src/MeinBudgetView/MeinGui.java

BIN
Budget Projekt/bin/MeinBudgetView/LoginFrame.class

BIN
Budget Projekt/bin/MeinBudgetView/MeinGui$1.class

BIN
Budget Projekt/bin/MeinBudgetView/MeinGui.class

BIN
Budget Projekt/bin/MeinBudgetView/MyTest.class

15
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);
}

Loading…
Cancel
Save