//親window public class JaMous2 extends Applet implements MouseListener,MouseMotionListener,ActionListener{ /** * */ private static final long serialVersionUID = 1L; int [] x = new int[1000]; int [] y = new int[1000]; int x1=-1; int y1; int count, i; int f=0; Label lb1=new Label("x"); Label lb2=new Label("y"); Button bt1=new Button("●"); Button bt2=new Button("Clear"); Button bt3=new Button("All Clear");
PopupMenu a_pup; MenuItem a_itm1,a_itm2;
MyFrame sonObj;
//リスナの登録 public void init(){ addMouseListener(this); addMouseMotionListener(this);