((BankDriver) driver).checkAndPutPatch(this, singlePatch, patchNum);
if (((BankDriver) driver).canHoldPatch((Patch) singlePatch)) { ((BankDriver) driver).putPatch(this, (Patch) singlePatch, patchNum); } else { JOptionPane.showMessageDialog (null, "This type of patch does not fit in to this type of bank.", "Error", JOptionPane.ERROR_MESSAGE); return; }
    public final void put(IPatch singlePatch, int patchNum) {        ((BankDriver) driver).checkAndPutPatch(this, singlePatch, patchNum);    }