wood burning stoves*
The moose likes Swing / AWT / SWT and the fly likes another good reason for seperate listener classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "another good reason for seperate listener classes" Watch "another good reason for seperate listener classes" New topic
Author

another good reason for seperate listener classes

Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4340
    
    2

i always thought adapters were a good idea. you don't have to write do nothing methods. but i was always extending JFrame so i couldn't use adapters.


SCJP
Visit my download page
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> but i was always extending JFrame so i couldn't use adapters.

another good reason not to extend JFrame
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: another good reason for seperate listener classes
 
Similar Threads
Implementaion of the interface provided by Sun to handle local and remote connections
Use of Interface
Adapter
JCA acceptability
JCOM vs JCA