🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18771

Re: Starting applet within an external frame.

#18771
From: Conrad Hoesle-Kienzlen
Date: Sat, 25 Apr 1998 00:00
31 lines
1402 bytes
Hector,
apart from your applet-class, create a second class file in the same
package that contains all the code to instantiate your frame, then put
an include statement in your applet that includes this class: include
SpecialFrame;
Within the applet, create a frame with SpecialFrame myFrame = new
SpecialFrame();
then, in the applets start() method, make the frame appear with
myFrame.pack();
myFrame.show();
Actually, you could even put the pack() method in the jbInit() method of
the frame class.
...Conrad

Hector Yep Lona wrote:

> I want my applet runs as an external frame in the browser, so I
> can take full advantage of the lauyout model.
>
> Any hints on how to do this?
>
> Thanks in advance:      Hector :)



--
Conrad Hoesle-Kienzlen
CHK IT-Consulting

<http://ourworld.compuserve.com/homepages/conrad_hoesle>
Technical Details
Message-ID: <354214D0.95DBAFDE@csi.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <354111C2.56CA02A5@campus.mty.itesm.mx>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b55c5bde665deb63
X-Google-Attributes: gidf74b3,public
From: Conrad Hoesle-Kienzlen <Conrad_Hoesle@csi.com>
Subject: Re: Starting applet within an external frame.
Date: 1998/04/25
Message-ID: <354214D0.95DBAFDE@csi.com>
X-Deja-AN: 347608789
Content-Transfer-Encoding: 7bit
References: <354111C2.56CA02A5@campus.mty.itesm.mx>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: CHK IT-Consulting
Newsgroups: borland.public.jbuilder.java.language