Search:

Type: Posts; User: tommyf

Search: Search took 0.09 seconds.

  1. Replies
    12
    Views
    1,348

    Re: Multiple methods in the same inner class?

    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.
    ...
  2. Replies
    12
    Views
    1,348

    Re: Multiple methods in the same inner class?

    "To track mouse moves and mouse drags, use the MouseMotionListener". *palm*

    Thanks newbie for your help.

    Of course it all works now.

    Bisous X
  3. Replies
    12
    Views
    1,348

    Re: Multiple methods in the same inner class?

    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...
  4. Replies
    12
    Views
    1,348

    Re: Multiple methods in the same inner class?

    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...
  5. Replies
    12
    Views
    1,348

    Re: Multiple methods in the same inner class?

    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...
  6. Replies
    12
    Views
    1,348

    Re: Multiple methods in the same inner class?

    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...
  7. Replies
    12
    Views
    1,348

    Multiple methods in the same inner class?

    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.*;
Results 1 to 7 of 7