From 305ea8c45ebead73eaeb17a024164008f37a2aa0 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.
---
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericDialog.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericDialog.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericDialog.java
index 900496c..f67dc20 100644
--- a/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericDialog.java
+++ b/opendj-sdk/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