Browse Source

Commit_26 andere Spalte _Kosten_ hinzugefuegt

Mohamed
Adah Boukhari 5 years ago
parent
commit
b8904400f3
  1. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui$2.class
  2. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui.class
  3. 8
      Budget Projekt/src/MeinBudgetView/MeinGui.java

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

BIN
Budget Projekt/bin/MeinBudgetView/MeinGui.class

8
Budget Projekt/src/MeinBudgetView/MeinGui.java

@ -205,17 +205,17 @@ public class MeinGui extends JFrame implements ActionListener {
new Object[][] { new Object[][] {
}, },
new String[] { new String[] {
"Name"
"Name", "Kosten"
} }
) { ) {
Class[] columnTypes = new Class[] { Class[] columnTypes = new Class[] {
String.class
String.class, Integer.class
}; };
public Class getColumnClass(int columnIndex) { public Class getColumnClass(int columnIndex) {
return columnTypes[columnIndex]; return columnTypes[columnIndex];
} }
public boolean[] columnEditables = new boolean[] {
false
boolean[] columnEditables = new boolean[] {
false, true
}; };
public boolean isCellEditable(int row, int column) { public boolean isCellEditable(int row, int column) {
return columnEditables[column]; return columnEditables[column];

Loading…
Cancel
Save