BankDriver myDriver = (BankDriver) myPatch.getDriver();
IBankDriver myDriver = (IBankDriver) myPatch.getDriver();
    public void ExtractSelectedPatch() {        if (table.getSelectedRowCount() == 0) {	    ErrorMsg.reportError("Error", "No Patch Selected.");	    return;	}	IPatch myPatch = myModel.getPatchAt(table.getSelectedRow());        BankDriver myDriver = (BankDriver) myPatch.getDriver();        for (int i = 0; i < myDriver.getNumPatches(); i++)            if (myDriver.getPatch(myPatch, i) != null)		myModel.addPatch(myDriver.getPatch(myPatch, i));        myModel.fireTableDataChanged();        changed = true;	//statusBar.setText(myModel.getRowCount() + " Patches");    }