SuperExample
-- using
super
to extend the functionality of a constructor or a method (in the
CounterButton
class).
Experiment:
Press on any of the buttons.
In the source code, remove the
CounterButton
constructor, recompile, and rerun the applet.
The source.