Re: [JXTA discuss] create a thread to monitoring the mouse

Joan Esteve <[email protected]> Fri, 24 Feb 2006 11:29:53 +0100
Newsgroups gmane.comp.java.jxta.general
Message-ID <[email protected]>
I suggest you to have a look at MouseListener and MouseMotionListener
interfaces. They declare abstract methods to handle mouse events.

http://java.sun.com/j2se/1.5.0/docs/api/

Moreover, I think that this kind of question should be sent to
[email protected] list instead of [email protected]...

Good luck

Joan Esteve
https://juxtacat.dev.java.net



En/na juliaroberts20 ha escrit:

> hi,
>
> i am doing a project and meets a problem.
>
> i want to create a thread to always monitor the mouse(even it does not
> get the focus).
>
> i know in the java application/applet, the component must get the
> focus and then it can listen the event. but if the component lose the
> focus , it won't capture the events ....
>
> it likes a deamon thread.
>
> but how to implements? anybody gives me ideas???
>
> thanks.
>
>
>
>
>
>
>
>
>
> 你 知 道 2006 年 最 火 爆 的 电子 邮 箱 吗 ?
> 多 达 1.1 亿 中 国人 选 择 网 易 2000 兆 免 费 邮 箱 , 抢 注 再 得
> 280 兆 超 大 网 盘 <http://www.126.com/help/126fab.htm>