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.
-
clear()
- Remove all lines of text from ColorText object.
-
paint(Graphics)
- Draw the text.
clear
public void clear()
- Remove all lines of text from ColorText object.
paint
public void paint(Graphics g)
- Draw the text.
- Overrides:
- paint in class Canvas
All Packages Class Hierarchy This Package Previous Next Index