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/RebuildIndexPanel.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/RebuildIndexPanel.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/RebuildIndexPanel.java
index 302a566..77ae9b9 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/RebuildIndexPanel.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/RebuildIndexPanel.java
@@ -340,7 +340,8 @@
     if (errors.isEmpty())
     {
       ProgressDialog progressDialog = new ProgressDialog(
-          Utilities.getParentDialog(this), getTitle(), getInfo());
+          Utilities.createFrame(), Utilities.getParentDialog(this), getTitle(),
+          getInfo());
       HashSet<String> baseDNs = new HashSet<String>();
       baseDNs.add(getSelectedBaseDN());
       RebuildIndexTask newTask = new RebuildIndexTask(getInfo(), progressDialog,

--
Gitblit v1.10.0