I appreciate that, and normally I would, but I have to do A LOT more work besides this program between now and its due date. Sorry for having to be spoon fed this stuff, but I was just in a hurry.
...
Type: Posts; User: tommyf
I appreciate that, and normally I would, but I have to do A LOT more work besides this program between now and its due date. Sorry for having to be spoon fed this stuff, but I was just in a hurry.
...
"To track mouse moves and mouse drags, use the MouseMotionListener". *palm*
Thanks newbie for your help.
Of course it all works now.
Bisous X
No, you're right. I don't understand it, which is why I'm turning to help. I have looked on the internet, and they do provide documentation, but with most of them I don't know where to begin, and I...
Okay. 1 more question. I have this:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
public class MousePanel3 extends JPanel {
private...
So you're saying I can have all the methods just in the same inner class? Oh okay. I didn't know that.
Can I have all the inner classes like that, and then the paint component separate but not...
This isn't a complete program, this is me just messing around. I just wanted to know if it was possible THIS way. The paintComponent() method's there for drawing a line when the mouse listener for...
Hey guys,
I have two programs. 1 which implements multiple mouse events:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;