CIS 35A: Introduction to Java Programming

Home | Green Sheet | Lectures | Assignments | FAQ | Grades

Applets

Applets
Introduction
Writing applet

  • Always extends the JApplet class, which is a subclass of Applet for Swing components.
  • Override init(), start(), stop(), and destroy() if necessary. By default, these methods are empty.
  • Add your own methods and data if necessary.
  • Applets are always embedded in an HTML page.

Previous | The Applet | History | Security | Inheritance | The JApplet | Writing applet | Next