Define, instantiate, and register a listener on the
Move
button
The code in
Listing 7
:
Defines an anonymous
ActionListener
class.
Instantiates an object of that class.
Registers that object on the
Move
button
File: bs.htm
[Next]
[Prev]