|
|
@ -183,11 +183,10 @@ public class MeinGui extends JFrame implements ActionListener { |
|
|
|
if (ae.getSource() == this.exit) { |
|
|
|
exitButton(); |
|
|
|
} |
|
|
|
/** |
|
|
|
|
|
|
|
if (ae.getSource() == this.loeschen) { |
|
|
|
leerButton(); |
|
|
|
} |
|
|
|
**/ |
|
|
|
|
|
|
|
int budget = Integer.parseInt(this.text1.getText()); |
|
|
|
if (ae.getSource() == this.senden && (this.text1 != null && this.text2 != null)) { |
|
|
@ -206,7 +205,6 @@ public class MeinGui extends JFrame implements ActionListener { |
|
|
|
System.exit(0); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
public void leerButton() { |
|
|
|
this.text1.setText(""); |
|
|
|
this.text2.setText(""); |
|
|
@ -214,5 +212,5 @@ public class MeinGui extends JFrame implements ActionListener { |
|
|
|
this.expensesDisplay.setText(""); |
|
|
|
this.balanceDisplay.setText(""); |
|
|
|
} |
|
|
|
**/ |
|
|
|
|
|
|
|
} |