java编写的画线程序 用java语言编写的简单画线程序,部分源码 import java.awt.*; import java.awt.event.*; public class MyMouseDraw1P extends WindowAdapter{ Frame win; MyCanvas c; int x,y; pu