hi,
i have a JButton object and i added an actionListener to it. it works well with a mouse click, but if use the keyboard enter key while the focus is on the JButton, nothing happens. do i need to add a keypress listener on top of the actionListener to the JButton so that it would work both for a keypress and a mouse click? any help would be appreciated.
thanks..