previous
|
start
|
next
Accessing Variables from Enclosing Scope
Remarkable: Inner class can access variables from enclosing scope
e.g.
textField
Can access enclosing instance fields, local variables
Local variables must be marked final
final JTextField textField = ...;
previous
|
start
|
next