aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge
diff options
context:
space:
mode:
Diffstat (limited to 'netx/net/sourceforge')
-rw-r--r--netx/net/sourceforge/jnlp/security/SecurityDialog.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/netx/net/sourceforge/jnlp/security/SecurityDialog.java b/netx/net/sourceforge/jnlp/security/SecurityDialog.java
index 03f2225..25d8f10 100644
--- a/netx/net/sourceforge/jnlp/security/SecurityDialog.java
+++ b/netx/net/sourceforge/jnlp/security/SecurityDialog.java
@@ -245,6 +245,7 @@ public class SecurityDialog extends JDialog {
installPanel();
pack();
+ centerDialog(this);
WindowAdapter adapter = new WindowAdapter() {
private boolean gotFocus = false;
@@ -263,14 +264,12 @@ public class SecurityDialog extends JDialog {
if (e.getSource() instanceof SecurityDialog) {
SecurityDialog dialog = (SecurityDialog) e.getSource();
dialog.setResizable(true);
- centerDialog(dialog);
dialog.setValue(null);
}
}
};
addWindowListener(adapter);
addWindowFocusListener(adapter);
-
}
public AccessType getAccessType() {