R
robert walker
Hi all, I do not see from the Action object
how to retrieve the component that was associated
with a given action
for instance
myMenuItem = new JCheckBoxMenuItem(myAction);
at some other place in my code
I have myAction in scope and would like to ask
for a reference to myMenuItem
how can i get it?
thought there might be a
myAction.getValue(Action.COMPONENT);
type KEY
thanks all
how to retrieve the component that was associated
with a given action
for instance
myMenuItem = new JCheckBoxMenuItem(myAction);
at some other place in my code
I have myAction in scope and would like to ask
for a reference to myMenuItem
how can i get it?
thought there might be a
myAction.getValue(Action.COMPONENT);
type KEY
thanks all