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