From 713fbdf427040620f68e29af42806f424f17fecc Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 17 Aug 2007 15:21:38 +0000
Subject: [PATCH] Fix a ClassCastException with Message objects in the Security Options dialog of the installer. Fix a bug that made the label of the server location not to appear as invalid when we detected that the installation path was not valid. Fix a bug in UIFactory so that the invalid labels have again a red color.
---
opends/src/quicksetup/org/opends/quicksetup/installer/ui/ServerSettingsPanel.java | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/ui/ServerSettingsPanel.java b/opends/src/quicksetup/org/opends/quicksetup/installer/ui/ServerSettingsPanel.java
index 448a76d..12d43ea 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/ui/ServerSettingsPanel.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/ui/ServerSettingsPanel.java
@@ -498,6 +498,7 @@
lServerLocation = UIFactory.makeJLabel(desc);
tfServerLocationParent = UIFactory.makeJTextComponent(desc, "");
lServerLocation.setLabelFor(tfServerLocationParent);
+ hmLabels.put(FieldName.SERVER_LOCATION, lServerLocation);
desc =
new LabelFieldDescriptor(INFO_SERVER_LOCATION_LABEL.get(),
--
Gitblit v1.10.0