All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pat.apps.ColorText

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----pat.apps.ColorText

public class ColorText
extends Canvas
This is a simple class whose only purpose is to display text with colors.


Method Index

 o clear()
Remove all lines of text from ColorText object.
 o paint(Graphics)
Draw the text.

Methods

 o clear
  public void clear()
Remove all lines of text from ColorText object.

 o paint
  public void paint(Graphics g)
Draw the text.

Overrides:
paint in class Canvas

All Packages  Class Hierarchy  This Package  Previous  Next  Index