patchNumComboBox.setEnabled(!(driver instanceof BankDriver)
patchNumComboBox.setEnabled(!(driver instanceof IBankDriver)
    public void actionPerformed (ActionEvent evt) {      Driver driver = (Driver) driverComboBox.getSelectedItem();      //ErrorMsg.reportStatus("DriverActionListener->actionPerformed:" + driver);      if (driver == null) 	// for driverComboBox.removeAllItems()	return;      bankNumComboBox.removeAllItems();      patchNumComboBox.removeAllItems();      String bankNumbers[] = driver.getBankNumbers();      if (bankNumbers != null && bankNumbers.length > 1) {	for (int i = 0 ; i < bankNumbers.length ; i++) {	  bankNumComboBox.addItem(bankNumbers[i]);	}      }      bankNumComboBox.setEnabled(bankNumComboBox.getItemCount() > 1);      String patchNumbers[] = driver.getPatchNumbers();      if (patchNumbers.length > 1) {	for (int i = 0 ; i < patchNumbers.length ; i++) {	  patchNumComboBox.addItem(patchNumbers[i]);	}      }      // N.B. Do not enable patch selection for banks      patchNumComboBox.setEnabled(!(driver instanceof BankDriver)				  && patchNumComboBox.getItemCount() > 1);    }