Search:

Type: Posts; User: dlorde

Search: Search took 1.26 seconds.

  1. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    OK, if the mouse isn't actually in the component, that call will return null. For some reason, you're not checking the return value, you're just calling a method on it, so you get a...
  2. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    @javapenguin - I still don't see where you're adding a MouseListener to a component. Please explain how you think the MouseListener action methods are going to be called - or is the MouseListener no...
  3. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    Having said the above, I don't actually see anywhere that you add a MouseListener to a component, so I wouldn't expect any mouse action to be recognized. Of course, that may be part of the code you...
  4. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    You clearly didn't even try to compile it... and sure enough, it doesn't compile. How do you know it demonstrates the problem if you haven't even compiled it?

    You have to understand that it's a...
Results 1 to 4 of 4