From b482986150100dfd464693ca9861a69734b006da Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 19 Feb 2009 16:18:48 +0000
Subject: [PATCH] Fix for issue 3813 (Minor enhancements for the Control Panel authentication)

---
 opends/src/guitools/org/opends/guitools/controlpanel/ui/StatusGenericPanel.java |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/StatusGenericPanel.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/StatusGenericPanel.java
index e46029d..5fe7cb3 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/StatusGenericPanel.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/StatusGenericPanel.java
@@ -331,6 +331,15 @@
     {
       gbc.insets = new Insets(20, 20, 0, 20);
     }
+    createErrorPane();
+    p.add(errorPane, gbc);
+  }
+
+  /**
+   * Creates the error pane.
+   */
+  protected void createErrorPane()
+  {
     errorPane = Utilities.makeHtmlPane("", ColorAndFontConstants.progressFont);
     errorPane.setOpaque(false);
     errorPane.setEditable(false);
@@ -351,7 +360,6 @@
       }
     });
     errorPane.setEditorKit(htmlEditor);
-    p.add(errorPane, gbc);
   }
 
   /**

--
Gitblit v1.10.0