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

Jean-Noël Rouvignac
25.17.2016 01bf9b6a5d324d45355659581e9ebbd1280834fe
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/ProgressDialog.java
@@ -40,13 +40,13 @@
import javax.swing.SwingUtilities;
import javax.swing.text.html.HTMLDocument;
import org.forgerock.i18n.LocalizableMessage;
import org.opends.guitools.controlpanel.datamodel.ControlPanelInfo;
import org.opends.guitools.controlpanel.event.ConfigurationChangeEvent;
import org.opends.guitools.controlpanel.event.PrintStreamListener;
import org.opends.guitools.controlpanel.ui.components.BasicExpander;
import org.opends.guitools.controlpanel.util.ApplicationPrintStream;
import org.opends.guitools.controlpanel.util.Utilities;
import org.forgerock.i18n.LocalizableMessage;
/** The dialog that is used to display progress in a task. */
public class ProgressDialog extends GenericDialog
@@ -177,7 +177,7 @@
  }
  /** The panel contained in the progress dialog. */
  static class ProgressPanel extends StatusGenericPanel
  private static class ProgressPanel extends StatusGenericPanel
  {
    private static final long serialVersionUID = -364496083928260306L;
    private BasicExpander details;
@@ -239,7 +239,7 @@
     * will have a new-line char at the end (is similar to println()).
     * @param msg the HTML formatted text to be appended.
     */
    public void appendErrorLine(String msg)
    private void appendErrorLine(String msg)
    {
      msg = filterForBugID4988885(msg+"<br>");
      msg = Utilities.applyFont(msg, ColorAndFontConstants.progressFont);
@@ -281,7 +281,7 @@
     * will be preceded by a new line (is similar to println()).
     * @param msg the HTML formatted text to be appended.
     */
    public void appendOutputLine(String msg)
    private void appendOutputLine(String msg)
    {
      appendErrorLine(msg);
    }
@@ -291,7 +291,7 @@
     * will be appended as it is (is similar to print()).
     * @param msg the HTML formatted text to be appended.
     */
    public void appendHtml(String msg)
    private void appendHtml(String msg)
    {
      HTMLDocument doc = (HTMLDocument)logs.getDocument();
@@ -308,7 +308,7 @@
    }
    /** Resets the contents of the logs (Details) section. */
    public void resetLogs()
    private void resetLogs()
    {
      logs.setText(INIT_TEXT);
    }