From 7ac9d547917442590d29afc7c37ec4b099aff42b Mon Sep 17 00:00:00 2001 From: "edwin%woudt.nl" Date: Fri, 26 Feb 1999 12:12:13 +0000 Subject: [PATCH] Fix to let the Dialog show up. --- grendel/ui/DialogAuthenticator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grendel/ui/DialogAuthenticator.java b/grendel/ui/DialogAuthenticator.java index 2a2ba2b30c1d..dc28b1af64a5 100644 --- a/grendel/ui/DialogAuthenticator.java +++ b/grendel/ui/DialogAuthenticator.java @@ -198,7 +198,7 @@ public class DialogAuthenticator extends Authenticator { JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION); actionPanel.addPropertyChangeListener(new OptionListener()); - add(actionPanel); + getContentPane().add(actionPanel); Dimension size = getPreferredSize(); Dimension screen = getToolkit().getScreenSize();