实现鼠标拖动划线,很适合小白呢!加油^0^~
import java.awt.Frame;import java.awt.Graphics;import java.awt.event.MouseEvent;import java.awt.event.MouseListener;public class TestCopy implements MouseListener{Frame f;int x1,y1,x2,y2;Graphi...
原创
2019-12-22 19:06:39 ·
432 阅读 ·
0 评论