Debugging an Applet: Introduction and Set Up

Home Page Tutorial Contents Compile and Run an Applet


How to Navigate

Move through this tutorial by clicking any of the three text areas shown above or at the bottom of each page. The text on the left takes you to the previous task (the page you're reading right now takes you to the home page), the text in the middle takes you to the contents page, and the text on the right takes you to the next task.


What You're Going to Do

In this tutorial, you load, run and debug an applet, as well as examine the applet's classes and methods. Note that this tutorial on debugging an applet assumes a knowledge of basic UNIX shell commands and enough Java to understand the applet used in the tutorial tasks.

To set up for the tutorial:

  1. Copy /usr/demos/java/QuickMenu and its contents to your working directory.
    cp -r  /usr/demos/java/QuickMenu .
    
  2. Change directory to the QuickMenu directory you have created.
    cd QuickMenu
    
  3. Remove the QuickMenu.proj file:
    rm QuickMenu.proj
    
  4. To check that the QuickMenu directory contains the files below, and that you have write permission for the files, type
    ls -al
    

    You should see the following files:

Home Page Tutorial Contents Compile and Run an Applet

Guide to the Cosmo Code Development Environment
12-96*165