Method setAction(Action a)
Return type: void
Member of:
javax.swing.AbstractButton
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
item.setAction(this);
2
deleteMenuItem.setAction( a);
3
button.setAction (a);
4
RowColDeleteAction.setAction(action);
5
LockAction.setAction(action);
6
button.setAction(action);
7
mnuFileSave.setAction(new ActionSaveAsOJBRepository(aRepository));
8
chooseDirectoryButton.setAction(
9
jButton1.setAction(new DBConnPropertiesAction(this));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.