System mouse event

T

terry

Could anyone tell me how to capture mouse movement event of the whole
application? That means I need to capture mouse movement events
whereever in every dialog or frame of the application.

Thanks!
 
R

Roedy Green

Could anyone tell me how to capture mouse movement event of the whole
application? That means I need to capture mouse movement events
whereever in every dialog or frame of the application.

What happens if you add a MouseListener to the master JFrame?
 
R

Robert Olofsson

terry ([email protected]) wrote:
: Could anyone tell me how to capture mouse movement event of the whole
: application? That means I need to capture mouse movement events
: whereever in every dialog or frame of the application.

I dont think there is any really simple solution to this. Why do you
need to do it?

I would suggest that you look up how the awt event queue is handled
and try to hook into it (push a new event queue that you control
perhaps).

/robo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top