Fri Feb 27 13:30:58 PST 1998 Class Goodbye

Class Goodbye

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----Goodbye

public class Goodbye
extends Applet
A demonstration of Java features based on earlier Applets:
See Also:
HelloWorld, Hello

Constructor Index

Goodbye()

Method Index

init()
method called when applications is started.
main(String[])
When used as an application the main program.
paint(Graphics)
Method called whenever the applet needs to be painted or repainted.


Constructors

Goodbye
  public Goodbye()


Methods

init
  public void init()
method called when applications is started. initialises arrays of Colors and Fonts.
Overrides:
init in class Applet
paint
  public void paint(Graphics g)
Method called whenever the applet needs to be painted or repainted. Outputs a string by painting it into its argument Graphics g
Overrides:
paint in class Component
main
  public static void main(String args[])
When used as an application the main program. main creates the window in which Goodbye runs.