git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JAL-1111 dialog flickers whilst example file starts if the desktop is not given as...
[jalview.git]
/
src
/
jalview
/
gui
/
PromptUserConfig.java
diff --git
a/src/jalview/gui/PromptUserConfig.java
b/src/jalview/gui/PromptUserConfig.java
index
f05459b
..
d50d2f2
100644
(file)
--- 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,