Class TextScroll

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

public class TextScroll
extends Applet
implements Runnable

Constructor Index

 o TextScroll()

Method Index

 o destroy()
Cleans up whatever resources are being held.
 o init()
Initializes the applet.
 o paint(Graphics)
paint copies the offScreenImage onto the screen
 o run()
 o start()
Called to start the applet.
 o stop()
Called to stop the applet.
 o update(Graphics)
update draws the background image and text into the offScreenImage (update is called by repaint and calls paint)

Constructors

 o TextScroll
 public TextScroll()

Methods

 o init
 public void init()
Initializes the applet.

Overrides:
init in class Applet
 o start
 public void start()
Called to start the applet. You never need to call this directly; it is called when the applet's document is visited.

Overrides:
start in class Applet
 o stop
 public void stop()
Called to stop the applet. This is called when the applet's document is no longer on the screen. It is guaranteed to be called before destroy() is called. You never need to call this method directly

Overrides:
stop in class Applet
 o destroy
 public void destroy()
Cleans up whatever resources are being held. If the applet is active it is stopped.

Overrides:
destroy in class Applet
 o run
 public void run()
 o paint
 public void paint(Graphics g)
paint copies the offScreenImage onto the screen

Parameters:
g — the applet's Graphics object
Overrides:
paint in class Container
 o update
 public void update(Graphics g)
update draws the background image and text into the offScreenImage (update is called by repaint and calls paint)

Overrides:
update in class Component