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.