I have not much knowledge about java. I made an application but I want to know coding of the action. So please tell me how to use Actions in Java. Any help will be appreciated.
I have not much knowledge about java. I made an application but I want to know coding of the action. So please tell me how to use Actions in Java. Any help will be appreciated.
For action to component, use setAction method. Following things occur when you bring into play setAction on component:
• Component's state is updated to equivalent to state of Action.
• Component's state is updated to match Action, if state of the Action modifies.
• Action object is registered as an action listener on component.
Bookmarks