Re: Witch KeyEvent.VK_ for '°' (degree)?
- From: "John C. Bollinger" <jobollin@xxxxxxxxxxx>
- Date: Thu, 19 Jan 2006 23:28:29 -0500
Marco wrote:
Witch KeyEvent.VK_ can I use for '°' (degree)? I find a list at http://javaalmanac.com/egs/javax.swing/Key2Str.html?l=rel , but I don't find '°'. Do you know a complete list of code in some link?
Thomas already gave you a good answer, but do you actually have a degree key on your keyboard? The U.S. layout doesn't, but I don't know about Italian layouts. My point is to emphasize that virtual key codes are about describing specific keys on the system keyboard; they only indirectly have anything to do with characters. If you're trying to watch for the user entering a degree character via the keyboard then you may be going about it the wrong way.
-- John Bollinger jobollin@xxxxxxxxxxx .
- Follow-Ups:
- Re: Witch KeyEvent.VK_ for '°' (degree)?
- From: Thomas Weidenfeller
- Re: Witch KeyEvent.VK_ for '°' (degree)?
- From: Marco
- Re: Witch KeyEvent.VK_ for '°' (degree)?
- References:
- Witch KeyEvent.VK_ for '°' (degree)?
- From: Marco
- Witch KeyEvent.VK_ for '°' (degree)?
- Prev by Date: Re: Question about Generics
- Next by Date: Re: anybody wants to work with me on ai project in java
- Previous by thread: Re: Witch KeyEvent.VK_ for '°' (degree)?
- Next by thread: Re: Witch KeyEvent.VK_ for '°' (degree)?
- Index(es):
Relevant Pages
|
Loading