Search:

Type: Posts; User: Darryl.Burke

Search: Search took 0.12 seconds.

  1. Replies
    9
    Views
    4,943

    Re: MouseListener & MouseMotionListener

    As helloworld922 has already told you at #4, performing custom painting doesn't preclude adding components to the panel.

    Maybe you're trying to run before you've learned to walk. I recommend the...
  2. Replies
    9
    Views
    4,943

    Re: MouseListener & MouseMotionListener

    Add a MouseListener to the JPanel and check the coordinates from MouseEvent#getPoint().

    That said, this sounds like a bad approach. Why do you think you need to do that?

    db
Results 1 to 2 of 2