aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java
diff options
context:
space:
mode:
Diffstat (limited to 'netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java')
-rw-r--r--netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java b/netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java
index 1937f1c..dc17174 100644
--- a/netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java
+++ b/netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java
@@ -167,6 +167,7 @@ public class SecurityWarningDialog extends JDialog {
SecurityWarningDialog dialog =
new SecurityWarningDialog(DialogType.MORE_INFO, null, null,
jarSigner);
+ dialog.setModalityType(ModalityType.APPLICATION_MODAL);
dialog.setVisible(true);
dialog.dispose();
}
@@ -181,6 +182,7 @@ public class SecurityWarningDialog extends JDialog {
SecurityWarningDialog dialog = new SecurityWarningDialog(DialogType.CERT_INFO,
null, null, jarSigner);
dialog.setLocationRelativeTo(parent);
+ dialog.setModalityType(ModalityType.APPLICATION_MODAL);
dialog.setVisible(true);
dialog.dispose();
}
@@ -195,6 +197,7 @@ public class SecurityWarningDialog extends JDialog {
JDialog parent) {
SecurityWarningDialog dialog = new SecurityWarningDialog(DialogType.SINGLE_CERT_INFO, c);
dialog.setLocationRelativeTo(parent);
+ dialog.setModalityType(ModalityType.APPLICATION_MODAL);
dialog.setVisible(true);
dialog.dispose();
}
@@ -219,7 +222,7 @@ public class SecurityWarningDialog extends JDialog {
dialogTitle = "Security Warning";
setTitle(dialogTitle);
- setModal(false);
+ setModalityType(ModalityType.MODELESS);
setDefaultCloseOperation(DISPOSE_ON_CLOSE);