Hi there,
sorry, I hit the wrong language... :-)
We are writing a java application that runs only of windows systems and
therefore can do with a litte of plattform dependency...
Is there a possibility to get the special menu key on the microsoft
keyboards (on the right between the windows and the ctrl-key)? We have
a lot of keyboard users that still don't learn CTRL-XCV...
Thanx,
Goetz
Andrey Kuznetsov - 14 Mar 2006 09:10 GMT
> We are writing a java application that runs only of windows systems and
> therefore can do with a litte of plattform dependency...
>
> Is there a possibility to get the special menu key on the microsoft
> keyboards (on the right between the windows and the ctrl-key)? We have
> a lot of keyboard users that still don't learn CTRL-XCV...
I am pretty sure that it is mapped to VK_META.

Signature
http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities
Bart Cremers - 14 Mar 2006 09:13 GMT
Since 1.5 the KeyEvent contains some new constants:
KeyEvent.VK_WINDOWS : for the "window" key
KeyEvent.VK_CONTEXT_MENU : for the "menu" key
So, you should be able to install a keylistener and monitor those keys.
Regards,
Bart
Roedy Green - 14 Mar 2006 09:28 GMT
>We are writing a java application that runs only of windows systems and
>therefore can do with a litte of plattform dependency...
>
>Is there a possibility to get the special menu key on the microsoft
>keyboards (on the right between the windows and the ctrl-key)? We have
>a lot of keyboard users that still don't learn CTRL-XCV...
try http://mindprod.com/products1.html#KEYPLAY
Hit the key and hit it is combination with other keys to see how it
appears in Java.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
goetz.markgraf@t-online.de - 14 Mar 2006 13:45 GMT
Roedy Green schrieb:
> try http://mindprod.com/products1.html#KEYPLAY
>
> Hit the key and hit it is combination with other keys to see how it
> appears in Java.
Thanx for alle the good advices. Unfortunately, we cannot switch to 1.5
like this. The KeyEvent does not give any useful information (as shown
by KeyPlayer).
Is there any other possibility to get the menu key under 1.4.2? If not,
we have to wait for 1.5
Thanx,
Goetz
Oliver Wong - 14 Mar 2006 21:36 GMT
> Thanx for alle the good advices. Unfortunately, we cannot switch to 1.5
> like this. The KeyEvent does not give any useful information (as shown
> by KeyPlayer).
>
> Is there any other possibility to get the menu key under 1.4.2? If not,
> we have to wait for 1.5
Java 1.5 is already out. Sun is even almost finished with 1.6. [*]
- Oliver
[*] I'm making this assumption based on the fact that they're giving away
prizes to anyone who can find a regression bug between 1.5 and 1.6.