|
-
Jun 14th, 2002, 01:33 AM
#4
PowerPoster
Originally posted by nemaroller
thanks dilinger, I found some other code too on the Sun Forums...
basically a one-line statement...
Code:
rootPane.setDefaultButton(button1);
Well, technically, that's not catching the keypress event, but if it's what you want, there you go.
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|