File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

(Contractors) using icons and accelerate keys

 
Wilder C Rodrigues
Ranch Hand
Posts: 107
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,
I would like to know if icons and accelerate keys is useful in my menu items. What do you think?
I created a framework to generate my menubar, is ti good for junior programmers?
Thanks,
Wilder C. Rodrigues
SCPJ2
 
Damian Ryan
Ranch Hand
Posts: 117
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you haven't already, take a look at Actions. These are very handy for providing menu/task bar functionality. They provide the ability to coordinate access to single functions through several paths, for example, a key press, a menu choice or a button click. They can be configured to have icons, which can appear beside the menu items they represent (when added to a menu) or in buttons in a task bar. They can be disabled or enabled, and, if the action is disabled, the menu item, task bar button and key press are ALL disabled in one go.
Easiest way to create them is as inner classes (either anonymous or named) that extend the abstract javax.swing.AbstractAction class.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic