From: jprocter Date: Mon, 1 Oct 2012 11:14:18 +0000 (+0100) Subject: JAL-1111 dialog flickers whilst example file starts if the desktop is not given as... X-Git-Tag: Jalview_2_9~281 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7bc855a6c80595b9c0c5983df2090cdcf0a5f4b6;p=jalview.git JAL-1111 dialog flickers whilst example file starts if the desktop is not given as parent --- diff --git a/src/jalview/gui/PromptUserConfig.java b/src/jalview/gui/PromptUserConfig.java index f05459b..d50d2f2 100644 --- a/src/jalview/gui/PromptUserConfig.java +++ b/src/jalview/gui/PromptUserConfig.java @@ -201,7 +201,7 @@ public class PromptUserConfig implements Runnable try { int reply = JOptionPane.showConfirmDialog( - null, // component, + Desktop.desktop, // component, dialogText, dialogTitle, (allowCancel) ? JOptionPane.YES_NO_CANCEL_OPTION : JOptionPane.YES_NO_OPTION,