statusBar.setText(myModel.PatchList.size()+" Patches");
    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");    }