One good way to implement a listener is to define an inner class that implements ActionListener. An inner class has access to the outer class's fields, so can get work with components defined in an outer JFrame subclass.
1 |
|
Garbage Collection,Components,GUI Containers,Layouts IDEs,Import statement,jar files,Java,ant,books,checkers,cohesion,expressions,pmd javac,jdk,jlint,jvm
One good way to implement a listener is to define an inner class that implements ActionListener. An inner class has access to the outer class's fields, so can get work with components defined in an outer JFrame subclass.
1 |
|
No comments:
Post a Comment