aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes (Contractors) using icons and accelerate keys Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "(Contractors) using icons and accelerate keys" Watch "(Contractors) using icons and accelerate keys" New topic
Author

(Contractors) using icons and accelerate keys

Wilder C Rodrigues
Ranch Hand

Joined: May 03, 2003
Posts: 107
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


SCEA Part I, SCAJ, SCPJ, SCDJ, SCWCD, SCBCD, SCMAD<br /> <br />"The significant problems we face can not be solved at the same level of thinking we were at when we created them." - Albert Einstein
Damian Ryan
Ranch Hand

Joined: May 09, 2003
Posts: 117
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.


Always proofread carefully to see if you any words out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: (Contractors) using icons and accelerate keys