}
+ /**
+ * fixes stacking order after a modal dialog to ensure windows that should be on top actually are
+ */
+ public void relayerWindows()
+ {
+ if (jvnews!=null && jvnews.isVisible())
+ {
+ jvnews.toFront();
+ }
+ }
+
protected JMenuItem groovyShell;
public void doGroovyCheck()
(allowCancel) ? JOptionPane.YES_NO_CANCEL_OPTION
: JOptionPane.YES_NO_OPTION,
JOptionPane.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
jalview.bin.Cache.log.debug("Got response : " + reply);
if (reply == JOptionPane.YES_OPTION)
{