SDSU CS 596 Java Programming
Fall Semester, 1998
Status Applet
To Applet Index
San Diego State University -- This page last updated 16-Dec-98

Description

This applet shows how to use the status window

Applet

Your browser does not support Java applets, so you can not see this applet operate.

Applet Tag

<APPLET archive="AppletClasses.jar" 
   CODE="StatusApplet.class" 
   WIDTH=0 HEIGHT=0>
   Your browser does not support Java applets, so
   you can not see this applet operate.
</APPLET>

Applet Source Code

StatusApplet.java

import java.awt.*;
import java.applet.Applet;

public class StatusApplet extends Applet
  {
  public void start() 
    {
    getAppletContext().showStatus( "Start" );  
    }
    
  public void paint( Graphics display) 
    {
    getAppletContext().showStatus( "Hi mom" );
    }  
  }


Visitors since 16-Dec-98