Article View: borland.public.jbuilder.java.language
Article #19065Re: dialog start another dialog
From: Conrad Hoesle-Kienzlen
Date: Wed, 18 Mar 1998 00:00
Date: Wed, 18 Mar 1998 00:00
27 lines
1446 bytes
1446 bytes
Bernd,
try using filer1.setFrame(new Frame("")); instead. It is certainly
possible to generate a dialog from within another dialog. The
documentation on dialogs is misleading, A dialog needs a "parent" frame,
but this parent does not have to be a predecessor (as with biological
parents), it can be any old frame. "this" is usually not a frame but an
object (which can contain a frame as well, of course).
...Conrad
Bernd Schloemer wrote:
> I have build an application that has a frame and 1 dialogs. whis an
> menuitem I start dialog1. Now with a button in dialog1 I want to start
> the filer-dialog.
>
> As I understand I have set the frame for the filer-dialog like:
>
> filer1.setFrame(this );
> filer1.show();
>
> This will not work because "this" only returns the dialog1.
>
> Question: Is it possible to load a dialog from another dialog ? Can
> anybody show me an example ?
>
> Thanks,
Technical Details
Message-ID:
<35102972.35F5A129@csi.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35100975.A40AA6FA@t-online.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,e6819ef1510cecc X-Google-Attributes: gidf74b3,public From: Conrad Hoesle-Kienzlen <Conrad_Hoesle@csi.com> Subject: Re: dialog start another dialog Date: 1998/03/18 Message-ID: <35102972.35F5A129@csi.com> X-Deja-AN: 335338813 Content-Transfer-Encoding: 7bit References: <35100975.A40AA6FA@t-online.de> Content-Type: text/plain; charset=us-ascii Organization: CHK IT-Consulting Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language