• Post Reply Bookmark Topic Watch Topic
  • New Topic

Listening for alien events  RSS feed

 
Ben Strangeway
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
Is it possible to get my application to know when an event such as a mousePress happens outside of the listening gui, e.g. the desktop?
I've been looking into transparent windows but know that this is not strictly supported as of yet. The robot solution (psuedo transparency) for this will not suffice either since this is not a genuine click of the desktop!
Thanks all =)
 
Steve Morrow
Ranch Hand
Posts: 657
Clojure Spring VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I imagine this is a task for JNI. I don't believe pure Java will allow for this behavior.
 
Ben Strangeway
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
eek! Ok thanks!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!