From f68e7a69b0ccd407685901e1a0839bdc316a7373 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 17 Dec 2008 12:02:58 +0000
Subject: [PATCH] Extend GenericDialog so that its extending classes can use a customized message for the title.

---
 opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericDialog.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericDialog.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericDialog.java
index 900496c..f67dc20 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericDialog.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericDialog.java
@@ -75,6 +75,7 @@
   private final static Color buttonPanelBackground =
     ColorAndFontConstants.greyBackground;
   private JButton okButton;
+
   /**
    * The close button.
    */
@@ -282,7 +283,7 @@
    * Updates the title of the dialog using the title of the panel.
    *
    */
-  void updateTitle()
+  public void updateTitle()
   {
     if (panel.getTitle() != null)
     {

--
Gitblit v1.10.0