标签:ada related void amp add listen poi cell position
component.addMouseMotionListener(new MyMouseMotionListener()); public class MyMouseMotionListener extends MouseMotionAdapter { public void mouseMoved(MouseEvent evt) { // Process current position of cursor while all mouse buttons are up. process(evt.getPoint()); } public void mouseDragged(MouseEvent evt) { // Process current position of cursor while mouse button is pressed. process(evt.getPoint()); } }
Related Examples |
标签:ada related void amp add listen poi cell position
原文地址:https://www.cnblogs.com/borter/p/9575416.html