Project 6: Java Programming

Ticker Tape: Write a Java Applet that displays a long text string as a "ticker tape". Try to make this as nice an object as you can. That is, make a TickerTape object which extends Component, or Canvas, or Label, as you wish, and which encapsulates all the necessary set-up and thread control.

Hint: To interact correctly with Layout Managers, make sure your object either inherits or overrides the methods minimumSize and preferredSize. The first should return a Dimension object with the smallest permissible screen size for the ticker tape; the second returns the Dimension of the natural size of the ticker tape.

Your Java file will be named TickerTapeTest.java, and should instantiate and display simultaneously several TickerTape objects.

Copyright 1998 Burton Rosenberg; All rights reserved.