W
watzlaw wutz
I currently work on a kind of gpl-clone of www.bablylon.com, which is
implemented in java. To embed my application into windows i need to
register hotkeys together with mouse-clicks. I want to start my
application to work if the user e.g. presses Ctrl and clicking with the
mouse. This is easy as long the application has the focus. If this is
not the case i think it is only possible using JNI.
Unfortunately (i am a more or less c++newbie and) i can't find any free
libary which would help me. There is only http://www.jniwrapper.com,
which seems to handle tasks like this, but it is commercial and i don't
think that i could get their agreement to use their libary in a
gpl-licensed software (also with buying a lisence).
So i would be very, very happy if someone of you could give me an idea
of how to create my the .dll and do the communication with java. It
would also help me a lot if you could me send some links, because i
didn't find much using google about java-jni-hotkeys-with-mouseclicks.
Please excuse my bad english.
greetings,
Holger Brandl
implemented in java. To embed my application into windows i need to
register hotkeys together with mouse-clicks. I want to start my
application to work if the user e.g. presses Ctrl and clicking with the
mouse. This is easy as long the application has the focus. If this is
not the case i think it is only possible using JNI.
Unfortunately (i am a more or less c++newbie and) i can't find any free
libary which would help me. There is only http://www.jniwrapper.com,
which seems to handle tasks like this, but it is commercial and i don't
think that i could get their agreement to use their libary in a
gpl-licensed software (also with buying a lisence).
So i would be very, very happy if someone of you could give me an idea
of how to create my the .dll and do the communication with java. It
would also help me a lot if you could me send some links, because i
didn't find much using google about java-jni-hotkeys-with-mouseclicks.
Please excuse my bad english.
greetings,
Holger Brandl