• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

listener classes-small doubt

 
Varaku Venkata
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can i write listener classes in clientGUI class as seperate classes....
 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. I had 6 listener inner classes in my controller to handle gui events.
 
Varaku Venkata
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the fast reply
what does your controller do ?
does it has methods only for listening events or anything else?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Varaku check out the SCJD FAQ. Look at the links in question 14 and this will take you to a couple of sites regarding the Model-View-Controller design pattern
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic