我在MouseMotionListener事件中拖动窗体,我想在鼠标释放的时候把窗体放在屏幕的一个固定位置,该如何实现?我是想在MouseMotionListener事件捕获释放鼠标的事件,但是不行.