From 3ee5e422a933df5d4a2be439c73b659277caa4bc Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Wed, 25 Apr 2007 03:25:16 +0000
Subject: [PATCH] corrected some upgrader presentation problems and consolidated some UIFactory imposed settings
---
opends/src/quicksetup/org/opends/quicksetup/ui/UIFactory.java | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/ui/UIFactory.java b/opends/src/quicksetup/org/opends/quicksetup/ui/UIFactory.java
index 0496457..f9d9a03 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/ui/UIFactory.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ui/UIFactory.java
@@ -493,6 +493,11 @@
private static final HashMap<IconType, ImageIcon> hmIcons =
new HashMap<IconType, ImageIcon>();
+ static {
+ UIManager.put("OptionPane.background",Color.WHITE);
+ UIManager.put("Panel.background",Color.WHITE);
+ }
+
/**
* The following enumeration contains the different icons that we can have.
*
@@ -839,7 +844,7 @@
TextStyle style)
{
JRadioButton rb = new JRadioButton();
-
+ rb.setOpaque(false);
if (text != null)
{
rb.setText(text);
@@ -867,7 +872,7 @@
TextStyle style)
{
JCheckBox cb = new JCheckBox();
-
+ cb.setOpaque(false);
if (text != null)
{
cb.setText(text);
--
Gitblit v1.10.0