Search:

Type: Posts; User: tommyf

Search: Search took 0.19 seconds.

  1. Replies
    12
    Views
    1,358

    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,358

    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,358

    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,358

    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,358

    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,358

    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,358

    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.*;
  8. Replies
    1
    Views
    1,082

    Changing colours of objects

    Hey all,

    1st let me say, this IS a school assignment, so I don't expect you to answer directly. However I would like a nudge or two in the right direction so I can actually complete the...
Results 1 to 8 of 8