I'm wanting an applet that allows you to draw lines by clicking and dragging your mouse. I also want the lines to stay on the screen and I will add a button so the user can clear the screen. But that clear screen comes after I can get it to draw the lines correctly.
In Netbeans I'm going to make it a program so thats why it doesn't extend Applet. Where do you suggest I place the addMouseListener and addMouseMotionListner then? I've tried a few places and still get errors.
I wish there was a way to be able to step through an applet without having to re-write it into a program.