aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net
diff options
context:
space:
mode:
authorAndrew Azores <[email protected]>2013-11-13 09:55:45 -0500
committerAndrew Azores <[email protected]>2013-11-13 09:55:45 -0500
commit3bf4e54f9bcf6377c5316e5f973629197d16ab6b (patch)
tree23e666b7e2bb6351f6d8b2a419dcf177a9b39d53 /netx/net
parent4c33f8335773f823825086b6088765195d5cd06f (diff)
BasicExceptionDialog centers on-screen before appearing
Diffstat (limited to 'netx/net')
-rw-r--r--netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java b/netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java
index 752974f..7c2bb19 100644
--- a/netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java
+++ b/netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java
@@ -56,7 +56,6 @@ import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
-import net.sourceforge.jnlp.runtime.Translator;
import net.sourceforge.jnlp.util.logging.JavaConsole;
/**
@@ -124,6 +123,7 @@ public class BasicExceptionDialog {
errorDialog.pack();
errorDialog.setResizable(true);
+ ScreenFinder.centerWindowsToCurrentScreen(errorDialog);
errorDialog.setVisible(true);
errorDialog.dispose();
}