int[] selected = table.getSelectedRows(); if (selected.length > 0) { DateiListeTableModel model = (DateiListeTableModel) table.getModel(); for (int i = 0; i < selected.length; i++) { model.removeRow(selected[i]); } }
removeSelectedColumn();
                public void actionPerformed(ActionEvent ae) {                    int[] selected = table.getSelectedRows();                    if (selected.length > 0) {                        DateiListeTableModel model = (DateiListeTableModel)                            table.getModel();                        for (int i = 0; i < selected.length; i++) {                            model.removeRow(selected[i]);                        }                    }                }