MouseWheelListener java-可以检测出侧框架吗?

时间:2011-11-05 05:47:26

标签: java windows swing awt mousewheel

是否有可能在整个屏幕上检测JFrame的鼠标滚轮?

我已查找了几个示例代码,但所有这些代码似乎只在各自的帧内检测到鼠标滚动。

有些代码会非常有用

谢谢

1 个答案:

答案 0 :(得分:0)

1)Is it possible to detect mouse scroll wheel out side

可以确定Mouse Cursor离开Container

2)Some code would be really helpful

a)tutorial inc。有价值的例子

b)仅examples