aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--netx/net/sourceforge/jnlp/security/SecurityDialog.java3
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e761c4a..a35d4b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-11 Andrew Azores <[email protected]>
+
+ * netx/net/sourceforge/jnlp/security/SecurityDialog.java: (initDialog)
+ centerDialog called in init rather than on windowOpened event
+
2013-10-09 Omair Majid <[email protected]>
* plugin/icedteanp/java/sun/applet/PluginProxySelector.java
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() {