Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / January 2005

Tip: Looking for answers? Try searching our database.

Toolbar-buttons showing icon AND(?) the name-value of the ActionClasses?

Thread view: 
tdev@freenet.de - 04 Jan 2005 17:10 GMT
Hello, configuring the toolbar with action-classes (also needed for
menu, popupmenu) I assumed that the Action.Name is not shown at the
toolbar buttons right from the icons. They are shown as assumed right
from the icons at the menuitems.  I can see that also in an example of
an ActionDemo by Mark Davidson ("Using Swing Action Architecture").
But instead of what I assumed and can see in the demo I get the the
Action.Name  also(?) shown right from the icon in my toolbar button,
where they should of course not appear (the icon itself is enough). But
I cant figured out why it is shown in my example(tried button and
togglebutton) and not in the ActionDemo example. Both setting
Action.Name and then configure menu and toolbar simple via this action
classes. And I cant set Action.Name to empty because it is needed in
the menu. What is the trick?!
Does anyone know about that or has a solution ?
tdev@freenet.de - 04 Jan 2005 17:33 GMT
I could it answer myself, but I wonder still a little about this
behaviour:
Mark adds the action class directly to the toolbar instead of
configuring a menutitem via the action class and then adding the
menuitem to the toolbar.
Maybe someone has a comment about?!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.