import java.applet.*; import java.awt.*; import java.awt.event.*; import java.util.*; public class Jooned1 extends Applet implements MouseListener{ Vector v; public static void main(String[] arg){ Frame f=new Frame(); f.add(new Jooned1()); f.setSize(300, 300); f.setVisible(true); } }