Article View: borland.public.jbuilder.java.language
Article #16637Re: Could you describe existing methods of JDialog creation from JApplet?
From: Vasudevan Srinivasan
Date: Fri, 05 Feb 1999 00:00
Date: Fri, 05 Feb 1999 00:00
17 lines
1075 bytes
1075 bytes
Hi,
This might probably be worth a look:
Container container = getParent();
while ( !( container instanceof Frame ) )
container = container.getParent();
Frame parentFrame = (Frame)container;
Dialog dlg = new Dialog(parentFrame);
Vasu
Sergey M. Karpunichev wrote:
> I have a class, inherited from JDialog.
> How can I create an object of this class from JApplet.
> I can, of course, create an unvisible JFrame, but it seems to me improper.
Technical Details
Message-ID:
<36BB08F5.B85FE8C@hotmail.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<79c4gg$kj726@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,af6c0778d658a030 X-Google-Attributes: gidf74b3,public From: Vasudevan Srinivasan <vasya10@hotmail.com> Subject: Re: Could you describe existing methods of JDialog creation from JApplet? Date: 1999/02/05 Message-ID: <36BB08F5.B85FE8C@hotmail.com> X-Deja-AN: 441012892 Content-Transfer-Encoding: 7bit References: <79c4gg$kj726@forums.borland.com> To: "Sergey M. Karpunichev" <skar@spcex.spb.su> Content-Type: text/plain; charset=us-ascii Organization: NetRisk Inc Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language