English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-09-08 20:19:57 · 1 answers · asked by query 1 in Computers & Internet Software

1 answers

You can. It will have a default constructor. All you need to do is put it into another container, such as a JFrame (for JApplet) or Frame (for Applet). Applet is a subclass of Panel and is therefore just another container. Since the browser won't be calling init(), start(), stop(), or destroy(), you will need to do that, e.g. in your constructor, create an instance, add to your container, and then call init() and start() on the applet instance.

2006-09-10 21:28:17 · answer #1 · answered by vincentgl 5 · 0 0

fedest.com, questions and answers