• Post Reply Bookmark Topic Watch Topic
  • New Topic

MouseEvents on an unfocused JFrame/JWindow (Mac OS X)...

 
Manuel Pablo Lama
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've created a JFrame using the following code excerpt :



On Windows XP/Vista , the JFrame receives mouse events even if unfocused, on Mac OS X it is only able to receive those events if the JFrame owns the focus.Is there any kind of workaround allowing the JFrame to recieve all events even if unfocused or do i have to use some kind of mouse hook via JNI to detect those events ?

Nice regards.
Pablo.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!