- (allowCancel) ? JOptionPane.YES_NO_CANCEL_OPTION
- : JOptionPane.YES_NO_OPTION,
- JOptionPane.QUESTION_MESSAGE);
+ (allowCancel) ? JvOptionPane.YES_NO_CANCEL_OPTION
+ : JvOptionPane.YES_NO_OPTION,
+ JvOptionPane.QUESTION_MESSAGE);
+ // now, ask the desktop to relayer any external windows that might have
+ // been obsured
+ if (Desktop.instance != null)
+ {
+ Desktop.instance.relayerWindows();
+ }
+ // and finish parsing the result