CIS 160 - Applets

Objectives

  • Create a Java applet
  • Run a Java applet using appletviewer

Applets

  • Applets are discouraged now and this topic is optional
  • Three primary methods we are interested in: init, start, paint(Graphics g)
  • Applets used to be placed in web pages using the deprecated embed tag, or the modern object tag
  • Most browsers no longer allow applets to be run
  • The appletviewer program can be used to run applets
  • Applets might be illustrated in class using the appletviewer program
  • Deprecated: ADemo1.html: a simple JApplet
  • Deprecated: ADemo2.html: a simple Applet
  • Deprecated: ADemo3.html: a simple JApplet (archived)

Resource

Applets have been removed from most reputable resources - so there is no external resource given for this topic.