|
|
@ -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; |
|
|
@ -201,6 +202,12 @@ public class MeinGui extends JFrame implements ActionListener { |
|
|
|
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(); |
|
|
|
textExpensesName.setBounds(60, 221, 128, 20); |
|
|
|