| Author |
Action Map question
|
Peter Simard
Ranch Hand
Joined: Oct 31, 2001
Posts: 54
|
|
When defining an ActionMap, are we defining one behavior common, i.e. available, to one or more actions/keystrokes? If I define : Am I saying perform the actionPerformed WHENEVER the enter key is pressed? I assume we have to addActionListener(enterKeyAction) for any component we want to execute the specified action. I perused this article: http://java.sun.com/products/jfc/tsc/special_report/kestrel/keybindings.html but it's a bit early in the morning at the moment to get my head around! [ October 14, 2002: Message edited by: Peter Simard ] [ October 14, 2002: Message edited by: Peter Simard ]
|
PAS<br />peter@panvox.net<br />2b || !2b
|
 |
 |
|
|
subject: Action Map question
|
|
|