当前位置: 代码迷 >> J2SE >> 怎么在MouseMotionListener事件中捕获鼠标事件
  详细解决方案

怎么在MouseMotionListener事件中捕获鼠标事件

热度:35   发布时间:2016-04-24 16:26:19.0
如何在MouseMotionListener事件中捕获鼠标事件
我在MouseMotionListener事件中拖动窗体,我想在鼠标释放的时候把窗体放在屏幕的一个固定位置,该如何实现?我是想在MouseMotionListener事件捕获释放鼠标的事件,但是不行.

------解决方案--------------------
实现两个接口当然就可以了。
------解决方案--------------------
JF
------解决方案--------------------
呵呵,现自己查google再比较好
  相关解决方案