A final reference variable
As the comment in Listing 4 indicates,
- the
variable must be final
- because it is referenced from within an anonymous
class definition.
I won't take the time to explain that here.
I will
simply refer you to my website
- where I have published several tutorial lessons
on anonymous classes.