aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanesh Dadachanji <[email protected]>2011-12-05 13:15:32 -0500
committerDanesh Dadachanji <[email protected]>2011-12-05 13:15:32 -0500
commitdf4088353198de359fc0910882446ca70b2524e0 (patch)
treed3b936c41d34c46e5eb5437cde8fee3e2f740b9f
parenta8a2e62e274726d4883c3bcc7e3768e72489a3a0 (diff)
Change icon for AccessWarningPane dialogs
-rw-r--r--ChangeLog6
-rw-r--r--netx/net/sourceforge/jnlp/security/AccessWarningPane.java2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9dc6b93..9dfc877 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-12-05 Danesh Dadachanji <[email protected]>
+
+ Update UI for AccessWarningPane
+ * netx/net/sourceforge/jnlp/security/AccessWarningPane.java:
+ Use question.png instead of warning.png for access dialogs.
+
2011-11-28 Jiri Vanek <[email protected]>
Added code-coverage generation targets
diff --git a/netx/net/sourceforge/jnlp/security/AccessWarningPane.java b/netx/net/sourceforge/jnlp/security/AccessWarningPane.java
index 72f0c78..c873758 100644
--- a/netx/net/sourceforge/jnlp/security/AccessWarningPane.java
+++ b/netx/net/sourceforge/jnlp/security/AccessWarningPane.java
@@ -150,7 +150,7 @@ public class AccessWarningPane extends SecurityDialogPanel {
topLabelText = R("SNetworkAccess", "(address here)");
}
- ImageIcon icon = new ImageIcon((new sun.misc.Launcher()).getClassLoader().getResource("net/sourceforge/jnlp/resources/warning.png"));
+ ImageIcon icon = new ImageIcon((new sun.misc.Launcher()).getClassLoader().getResource("net/sourceforge/jnlp/resources/question.png"));
JLabel topLabel = new JLabel(htmlWrap(topLabelText), icon, SwingConstants.LEFT);
topLabel.setFont(new Font(topLabel.getFont().toString(),
Font.BOLD, 12));