Can I use an Action, but have diff text for JButton versus JMenuItem?
- From: "TimOnGoogle" <fromGoogle@xxxxxxxxxxx>
- Date: 26 Sep 2005 15:26:04 -0700
I want to use an AbstractAction as the basis for some Action classes in
a Swing app, but I want the text of the action's name to be different
for JButtons than it is for JMenuItems.
Is there any way to do this, or do I need to have two separate Action
instances to do this?
.
- Follow-Ups:
- Prev by Date: Re: Focus
- Next by Date: Re: Can I use an Action, but have diff text for JButton versus JMenuItem?
- Previous by thread: Focus
- Next by thread: Re: Can I use an Action, but have diff text for JButton versus JMenuItem?
- Index(es):