How can I tell if ALT key is pressed when a JSpinner is changed?
Richard Hammer <[email protected]>
| Newsgroups | gmane.org.user-groups.trijug.juglist |
|---|---|
| Message-ID | <[email protected]> |
I need to add a listener to a JSpinner that will behave differently if the ALT key is pressed. What's the best way to do this? Probably there is an easy way. If you want to know what does not work, at first I expected to find what I needed in the ChangeEvent which is sent to a ChangeListener. But ChangeEvent does not carry information about keys pressed at the time. Thank you, Rich Hammer