Same as previous applet except the JPanels are implemented as classes. This makes
the applet (class Prog6) readable and compact but requires communication between
the JPanel classes. Thus, the constructor for the TopPanel class contains references
to the applet and an object of the BotPanel class.