From f019f22daf22ebfe3f1d4903d6039a8dae56250a 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.

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

diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/ImportLDIFPanel.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/ImportLDIFPanel.java
index 82ed462..25ebf7e 100644
--- a/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/ImportLDIFPanel.java
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/ImportLDIFPanel.java
@@ -632,6 +632,7 @@
     if (errors.isEmpty())
     {
       ProgressDialog progressDialog = new ProgressDialog(
+          Utilities.createFrame(),
           Utilities.getParentDialog(this), getTitle(), getInfo());
       ImportTask newTask = new ImportTask(getInfo(), progressDialog);
       for (Task task : getInfo().getTasks())

--
Gitblit v1.10.0