Wednesday, 11 September 2013

How to replace a Jbutton with Escape key in java?

How to replace a Jbutton with Escape key in java?

In my program, I have a Jbutton (named "Clear") that clears several
textfields in GUI. I want to replace this button with Escape key such that
pressing Escape key is same as pressing that button. (I don't want that
Jbutton in my program)

No comments:

Post a Comment