This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Action objects why better ?  RSS feed

 
Shivaji Bhosale
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone give me guidelines why Action objects are better than,
conventional way of dealing with ActionListeners ?
 
Laudney Ren
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Follow the link http://www.patterndepot.com/put/8/JavaPatterns.htm where you can download DesignJava.pdf written by James W. Cooper. You can find Action objects in JFC chapter.
Or, to browse on line, go to http://www.patterndepot.com/put/8/JFC.html and choose Menus and Action Objects.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!