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