CIS 35A: Introduction to Java Programming

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

Applets

Applets
Applications vs Applets
Differences

  • Applications are invoked from the static main method by the Java interpreter, and applets are run by the Web browser. The Web browser creates an instance of the applet using the applet's no-arg constructor and controls and executes the applet through the init, start, stop, and destroy methods.
  • Applets have security restrictions
  • Web browser creates graphical environment for applets, GUI applications are placed in a frame.

Previous | Similarities | Differences | Passing Parameters to Applets | Loan applet | Next