statusBar.setText(myModel.PatchList.size()+" Patches");
    public void ExtractSelectedPatch()    {        if (table.getSelectedRowCount()==0)        {ErrorMsg.reportError("Error","No Patch Selected.");return;}        Patch myPatch=((Patch)myModel.PatchList.get(table.getSelectedRow()));        BankDriver myDriver=(BankDriver)PatchEdit.getDriver(myPatch.deviceNum,myPatch.driverNum);        for (int i=0;i<myDriver.numPatches;i++)            if (myDriver.getPatch(myPatch,i)!=null) myModel.PatchList.add(myDriver.getPatch(myPatch,i));        myModel.fireTableDataChanged();        changed=true;        statusBar.setText(myModel.PatchList.size()+" Patches");    }