All Packages  This Package  Class Hierarchy  Class Search  Index

Class kh.applet.BaseApplet
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----kh.applet.BaseApplet

  Summary

public class  BaseApplet
     extends java.applet.Applet
{
          // Constructors 1
     public BaseApplet();

          // Methods 2
     public String getAppletInfo();
     public String getParameter(String, String);
}

This class adds useful utility routines to the standard applet class. Generally it is better to subclass BaseApplet than Applet.




  Constructors

· BaseApplet

Summary  |  Top

   public BaseApplet() 

Default constructor



  Methods

· getAppletInfo

Summary  |  Top
   public String getAppletInfo() 

Tell the world about ourselves. Subclasses should override this function to include copyright etc...

Returns:
"Author: kevinh@geeksville.com"
Overrides:
getAppletInfo in class Applet


· getParameter

Summary  |  Top
   public String getParameter(String paramName, 
                              String paramDefault) 

This flavor of getParameter() allows you to provide default parameters in the Java source code.

Parameter Description
paramName the parameter
paramDefault the default value which is used if the parameter is not set

See Also: getParameter



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7