Instantiate the listener object
The listener object in
Listing 7
is created by
Writing an expression to instantiate an anonymous object from an anonymous class, and
Placing that expression as an argument to the
addMouseListener
method.
File: cx.htm
[Next]
[Prev]