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

jvergara
18.45.2007 0e30a4a5c7a692c06ef62a764e0cdff3b73ea552
Fix a bug in the progress panel that did not allow to display the initial message.  This produced a graphical glitch when the next summary message was displayed (the whole panel was abruptly moved downwards).
1 files modified
7 ■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/ui/ProgressPanel.java 7 ●●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/ui/ProgressPanel.java
@@ -92,7 +92,7 @@
    gbc.fill = GridBagConstraints.HORIZONTAL;
    progressBarLabel = UIFactory.makeHtmlPane(
            INFO_PROGRESSBAR_INITIAL_LABEL.get(),
            null,
            UIFactory.PROGRESS_FONT);
    progressBarLabel.setOpaque(false);
    progressBarLabel.setEditable(false);
@@ -110,6 +110,10 @@
      }
    });
    progressBarLabel.setEditorKit(htmlEditor);
    String summaryText = UIFactory.applyFontToHtml(
        String.valueOf(INFO_PROGRESSBAR_INITIAL_LABEL.get()),
        UIFactory.PROGRESS_FONT);
    progressBarLabel.setText(summaryText);
    progressBarLabel.addHyperlinkListener(this);
    panel.add(progressBarLabel, gbc);
@@ -204,6 +208,7 @@
        summaryText = "<form>"+summaryText+"</form>";
      }
    }
    progressBarLabel.setText(summaryText);
    Integer v = descriptor.getProgressBarRatio();