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