Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Action Map question

 
Peter Simard
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic