From 7bc855a6c80595b9c0c5983df2090cdcf0a5f4b6 Mon Sep 17 00:00:00 2001 From: jprocter Date: Mon, 1 Oct 2012 12:14:18 +0100 Subject: [PATCH] JAL-1111 dialog flickers whilst example file starts if the desktop is not given as parent --- src/jalview/gui/PromptUserConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 1.7.10.2