




























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























public class MyApplet extends Applet { public void init() { ... } public void start() { ... } public void stop() { ... } public void destroy() { ... } //your other methods }
again.
MortgageApplet
Run Applet Viewer
<applet code=classfilename.class width=applet_viewing_width_in_pixels height=applet_viewing_height_in_pixels [archive=archivefile] [codebase=applet_url] [vspace=vertical_margin] [hspace=horizontal_margin] [align=applet_alignment] [alt=alternative_text]
<applet code = "DisplayMessage.class" width = 200 height = 50 alt="You must have a Java-enabled browser to view the applet"
Run Applet Viewer
DisplayMessage
Example 10.1) to a Java application.
Run
MortgageApplication
Run Applet Viewer
AppletMenuDemo
handle mouse events.
Run as Application
MoveMessageDemo
Run as Applet