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

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/ResetUserPasswordPanel.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/ResetUserPasswordPanel.java
index 13999d4..2e15e01 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/ResetUserPasswordPanel.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/ResetUserPasswordPanel.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2008 Sun Microsystems, Inc.
+ *      Copyright 2008-2009 Sun Microsystems, Inc.
  */
 
 package org.opends.guitools.controlpanel.ui;
@@ -128,9 +128,9 @@
     if (errors.size() == 0)
     {
       ProgressDialog dlg = new ProgressDialog(
+          Utilities.createFrame(),
           Utilities.getParentDialog(this),
-          INFO_CTRL_PANEL_RESET_USER_PASSWORD_TITLE.get(),
-          getInfo());
+          INFO_CTRL_PANEL_RESET_USER_PASSWORD_TITLE.get(), getInfo());
       ResetUserPasswordTask newTask =
         new ResetUserPasswordTask(getInfo(), dlg, node, controller,
             password.getPassword());

--
Gitblit v1.10.0