Class chap4.ch4_fig1
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class chap4.ch4_fig1

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

public class ch4_fig1
extends Applet
An applet that prints the string "Hello world" at absolute applet-relative coordinates x=20, y=50.

Method Index

 o paint(Graphics)
Actually paint the string on the screen.

Methods

 o paint
  public void paint(Graphics g)
Actually paint the string on the screen.
Overrides:
paint in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index