diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | netx/net/sourceforge/jnlp/security/SecurityDialog.java | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -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() { |