AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Action selected state in JDK 1.5

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits
View previous topic :: View next topic  
Author Message
Karsten Wutzke
Guest





PostPosted: Mon May 21, 2007 9:53 pm    Post subject: Action selected state in JDK 1.5 Reply with quote



Hello all!

Does anyone know of or have a solution of how to have automatic
updates for buttons and menu items created from Action's FOR JDK 1.5?
I know that automatic support for it was added in JDK (1.)6.0, however
the requirements for the software I'm developing is Java 5...

When calling new JMenuItem(Action) or JButton(Action), basically any
radio button or checkbox AbstractButton component, calling setEnabled
an the action turns the button AND menu items to gray. I would simply
like to achieve that for the selected state as well: Whenever the user
clicks on a toolbar button OR menu item, the selected state shall be
reflected in the other GUI component, too. As stated above, a solution
is inside the "too new" JDK6.

So, has anybody implemented a solution for this? Maybe some
AbstractAction subclass?

Any help on this appreciated! (directions etc.)

TIA
Karsten
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.