PPT Slide
import java.awt.Graphics;
public class LinesNew extends java.applet.Applet
implements MouseListener,MouseMotionListener {
Point starts[] = new Point[MAXLINES];
Point ends[] = new Point[MAXLINES];
setBackground(Color.white);
/* Register event Listeners */
addMouseMotionListener(this);