myModel.list.remove(table.getSelectedRow());
myModel.removeSceneAt(table.getSelectedRow());
    public void deleteSelectedPatch() {        if (table.getSelectedRowCount() == 0) {            ErrorMsg.reportError("Error", "No Patch Selected.");            return;        }        myModel.list.remove(table.getSelectedRow());        myModel.fireTableDataChanged();	//statusBar.setText(myModel.getRowCount() + " Patches");    }