From d441f750a60beeafecb7795c59ca73927cbc8ea7 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 16 Oct 2009 00:27:26 +0000
Subject: [PATCH] Change the interface of ProgressDialog to be able to specify separately the frame of the dialog and the component that must be used as a reference to display the dialog.

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

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/AddToGroupPanel.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/AddToGroupPanel.java
index b655112..38065f7 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/AddToGroupPanel.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/AddToGroupPanel.java
@@ -429,6 +429,7 @@
     if (errors.size() == 0)
     {
       ProgressDialog dlg = new ProgressDialog(
+          Utilities.createFrame(),
           Utilities.getParentDialog(this),
           INFO_CTRL_PANEL_ADD_TO_GROUP_TITLE.get(), getInfo());
       LinkedHashSet<DN> groupDns = new LinkedHashSet<DN>();

--
Gitblit v1.10.0