myModel.sceneList.remove(table.getSelectedRow());
myModel.list.remove(table.getSelectedRow());
    public void DeleteSelectedPatch() {        if (table.getSelectedRowCount()==0) {            ErrorMsg.reportError("Error", "No Patch Selected.");            return;        }        myModel.sceneList.remove(table.getSelectedRow());        myModel.fireTableDataChanged();    }