CopySelectedPatch();
copySelectedPatch();
		public void JSLFrameClosing(JSLFrameEvent e) {		    String[] choices = new String[] {"Keep Changes",						     "Revert to Original",						     "Place Changed Version on Clipboard"		    };		    int choice = JOptionPane.CLOSED_OPTION;		    while (choice == JOptionPane.CLOSED_OPTION)			choice = JOptionPane.showOptionDialog			    ((Component) null,			     "What do you wish to do with the changed copy of the Patch?",			     "Save Changes?",			     JOptionPane.OK_OPTION, JOptionPane.QUESTION_MESSAGE,			     null, choices, choices[0]);		    if (choice == 0) { // "Keep Changes"			if (bankFrame != null)			    bankFrame.myModel.setPatchAt(p, patchRow, patchCol);			return;		    }		    if (choice == 2) // "Place Changed Version on Clipboard"			//put on clipboard but don't 'return' just yet			CopySelectedPatch();		    //restore backup		    System.arraycopy(originalPatch, 0, p.sysex, 0, p.sysex.length);		}