LazyComponentTest


This applet demonstrates LazyComponent.
A LazyComponent uses reflection to break the references between class files.
In addition, a LazyComponent will not instantiate its inner component until
it needs to be painted. While the inner component is class loaded the words
"Please wait while the software loads." are displayed.

This applet show two LazyComponents.
The first is of type MyButton; the second a java.awt.Label.
Ideally, they should be shown in that order.
The temporary statement should be shown for the button.
The delay is somewhat artificial, since the jar file containing MyButton
is prepended with the entirity of okweb1.