This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

(Contractors) using icons and accelerate keys

 
Ranch Hand
Posts: 107
  • 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
 
Ranch Hand
Posts: 117
  • 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.
 
Rototillers convert rich soil into dirt. Please note that this tiny ad is not a rototiller:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!