Browse Source

Commit_15 balanceView() implementiert

Eduard2
Adah Boukhari 5 years ago
parent
commit
0eead93080
  1. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui$1.class
  2. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui.class
  3. 14
      Budget Projekt/src/MeinBudgetView/MeinGui.java

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

BIN
Budget Projekt/bin/MeinBudgetView/MeinGui.class

14
Budget Projekt/src/MeinBudgetView/MeinGui.java

@ -33,12 +33,12 @@ public class MeinGui extends JFrame implements ActionListener {
JLabel leeren;
JButton loeschen;
JButton exit;
private static JLabel budgetDispaly;
private static JLabel budgetDispaly;
private static JLabel expensesDisplay;
private static JLabel balanceDisplay;
private static int budget;
private static int expenses;
private static int balance;
private static int balance;
/**
* Launch the application.
@ -215,21 +215,17 @@ public class MeinGui extends JFrame implements ActionListener {
expensesDisplay.setText("");
balanceDisplay.setText("");
}
public static void BudgetView() {
budgetDispaly.setText(budget + " €");
budgetDispaly.setText(budget + " ");
}
public static void expensesView() {
expensesDisplay.setText(expenses - budget + " €");
expensesDisplay.setText(expenses - budget + " ");
}
public static void balanceView() {
balanceDisplay.setText(balance + " €");
balanceDisplay.setText(balance + " ");
}
}
Loading…
Cancel
Save