|
|
@ -48,6 +48,7 @@ public class MeinGui extends JFrame implements ActionListener { |
|
|
|
public static JLabel budgetDispaly; |
|
|
|
public static JLabel expensesDisplay; |
|
|
|
public static JLabel balanceDisplay; |
|
|
|
public static JLabel savingsDisplay; |
|
|
|
public static double budget; |
|
|
|
public static double expenses; |
|
|
|
public static double balance; |
|
|
@ -200,6 +201,12 @@ public class MeinGui extends JFrame implements ActionListener { |
|
|
|
balanceDisplay.setBounds(543, 82, 85, 14); |
|
|
|
balanceDisplay.setFont(new Font("Tahoma", Font.BOLD, 12)); |
|
|
|
contentPane.add(balanceDisplay); |
|
|
|
|
|
|
|
//Einfügen des Platzhalters für die Erspartes Summe |
|
|
|
savingsDisplay = new JLabel("0.0 \u20AC"); |
|
|
|
savingsDisplay.setBounds(660, 82, 85, 14); |
|
|
|
savingsDisplay.setFont(new Font("Tahoma", Font.BOLD, 12)); |
|
|
|
contentPane.add(savingsDisplay); |
|
|
|
|
|
|
|
//Einfügen des Textfeldes für die Beschreibung der Ausgabe |
|
|
|
textExpensesName = new JTextField(); |
|
|
|