mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
17.21.2007 713fbdf427040620f68e29af42806f424f17fecc
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.
3 files modified
5 ■■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/installer/ui/SecurityOptionsDialog.java 2 ●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/ui/ServerSettingsPanel.java 1 ●●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/ui/UIFactory.java 2 ●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/ui/SecurityOptionsDialog.java
@@ -681,7 +681,7 @@
            ArrayList<Message> errorMsgs = new ArrayList<Message>();
            for (Object o: ar)
            {
              errorMsgs.add(Message.raw((String)o));
              errorMsgs.add((Message)o);
            }
            displayError(Utils.getMessageFromCollection(errorMsgs, "\n"),
                INFO_ERROR_TITLE.get());
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(),
opends/src/quicksetup/org/opends/quicksetup/ui/UIFactory.java
@@ -290,7 +290,7 @@
   * Specifies the invalid field color.
   */
  public static final Color FIELD_INVALID_COLOR =
          getColor(INFO_FIELD_VALID_COLOR.get());
          getColor(INFO_FIELD_INVALID_COLOR.get());
  /**
   * Specifies the read only text color.