You shouldn't need to write any native code, just the mappings and
the java code that uses them.
Hi,
I'd like to use the KeyboardUtils class to find out if a certain
key is pressed while a
window is moved (ComponentEvent doesn't provide that info,
unfortunately).
Now, there seems to be implementations for Win32 and X11, which do
exactly what I want,
but it's not done yet on Mac. I noticed that the other two make use
of the User32 and X11
classes and their libraries, but apparently there's no such class
for Mac.
What I'd like to know is, is there a library somewhere that's ready
to be used, so I could
just implement the key mapping in Java without writing any native
code myself? I'd like to
complete the missing part in that class, but I don't have the in-
depth knowledge of JNA to
do it from scratch.
Chris
--
===============================================================
imbus AG, Kleinseebacher Str. 9, 91096 Möhrendorf, DEUTSCHLAND
Tel. +49 9131 7518-0, Fax +49 9131 7518-50
in...@imbus.de http://www.imbus.de
imbus AG, Unter der Linde 16, 80939 München, DEUTSCHLAND
Tel. +49 89 3219909-0, Fax +49 89 3219909-50
in...@imbus.de http://www.imbus.de
Vorsitzender des Aufsichtsrates: Hendrik Rässler
Vorstand: Tilo Linz, Bernd Nossem, Thomas Roßner, Jörg Schulten
Sitz der Gesellschaft: Möhrendorf, München
Registergericht: Fürth/Bay, HRB 8365
---------------------------------------------------------------
imbus Rhein-Main GmbH, Zanggasse 6, 65719 Hofheim, DEUTSCHLAND
Tel. +49 6192 92192-0, Fax +49 6192 92192-50
in...@imbus.de http://www.imbus.de
Geschäftsführer: Frank Schmeißner, Jörg Schulten
Sitz der Gesellschaft: Hofheim
Registergericht: Frankfurt am Main, HRB 52155
===============================================================