From 535613fb5fd9a2e33c5d5717dd17a2afaf2139ff Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Fri, 27 Apr 2007 14:36:16 +0000
Subject: [PATCH] Addresses issues with GUI access to builds repository - Fixes a bug in which caused the connection problem dialog to fail to appear - Fixes a presentation problem with the HTML presented in the connection problem dialog - Properly associates the web proxy dialog with its parent and centers on the screen

---
 opends/src/quicksetup/org/opends/quicksetup/upgrader/ui/BuildListDownloadErrorPanel.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/upgrader/ui/BuildListDownloadErrorPanel.java b/opends/src/quicksetup/org/opends/quicksetup/upgrader/ui/BuildListDownloadErrorPanel.java
index b755818..fad5430 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/upgrader/ui/BuildListDownloadErrorPanel.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/upgrader/ui/BuildListDownloadErrorPanel.java
@@ -110,7 +110,9 @@
     CustomHTMLEditorKit ek = new CustomHTMLEditorKit();
     ek.addActionListener(new ActionListener() {
       public void actionPerformed(ActionEvent ev) {
-        specifyProxy(getParent());
+        Component dlg = SwingUtilities.getAncestorOfClass(Window.class,
+                BuildListDownloadErrorPanel.this);
+        specifyProxy(dlg);
 
         // Since the proxy info may change we need
         // to regenerate the text

--
Gitblit v1.10.0