String choices[] = new String[] {"Keep Changes",
String[] choices = new String[] {"Keep Changes",
		public void internalFrameClosing(InternalFrameEvent 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) {			if (bankFrame == null)                        return;			bankFrame.myModel.setPatchAt(p, patchRow, patchCol);			return;		    }		    if (choice == 2)			//put on clipboard but don't 'return' just yet			CopySelectedPatch(); 		    //restore backup		    System.arraycopy(originalPatch, 0, p.sysex, 0, p.sysex.length);                        }