|
@ -197,7 +197,7 @@ public class MeinGui extends JFrame implements ActionListener { |
|
|
contentPane.add(budgetBetrag); |
|
|
contentPane.add(budgetBetrag); |
|
|
|
|
|
|
|
|
JScrollPane scrollPane_1 = new JScrollPane(); |
|
|
JScrollPane scrollPane_1 = new JScrollPane(); |
|
|
scrollPane_1.setBounds(323, 126, 197, 88); |
|
|
|
|
|
|
|
|
scrollPane_1.setBounds(347, 126, 136, 88); |
|
|
contentPane.add(scrollPane_1); |
|
|
contentPane.add(scrollPane_1); |
|
|
|
|
|
|
|
|
myTable = new JTable(); |
|
|
myTable = new JTable(); |
|
@ -247,6 +247,8 @@ public class MeinGui extends JFrame implements ActionListener { |
|
|
balanceDisplay.setText(setBalanceView()); |
|
|
balanceDisplay.setText(setBalanceView()); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
DefaultTableModel tab = (DefaultTableModel)myTable.getModel(); |
|
|
|
|
|
tab.addRow(new Object [] {(textExpensesName.getText()) , Integer.parseInt(text2.getText())}); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|