Re: Including a JApplet application in a JFrame application
From: Ian Shef (invalid_at_avoiding.spam)
Date: 12/09/04
- Previous message: Tjerk Wolterink: "Re: Including a JApplet application in a JFrame application"
- In reply to: Tjerk Wolterink: "Re: Including a JApplet application in a JFrame application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 09 Dec 2004 19:30:40 GMT
Tjerk Wolterink <tjerk@wolterinkwebdesign.com> wrote in news:41b89510$0$8904
$abc4f4c3@news.wanadoo.nl:
> Aurel wrote:
>> Hi,
>>
>> I developped an applet (JApplet class) and now I'd like to integrate it in
>> another application which is a JFrame one...
<snip>
>
> Notice that JApplet is an subclass of JComponent. So all you have to do is
> treat JApplet as an component, just add it to an Container.
>
...and call the methods init(), start(), stop(), and destroy().
...and realize that some methods of Applet won't do anything useful [for
example, getAppletContext() and play()].
-- Ian Shef 805/F6 * These are my personal opinions Raytheon Company * and not those of my employer. PO Box 11337 * Tucson, AZ 85734-1337 *
- Previous message: Tjerk Wolterink: "Re: Including a JApplet application in a JFrame application"
- In reply to: Tjerk Wolterink: "Re: Including a JApplet application in a JFrame application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|