Search:

Type: Posts; User: Norm

Search: Search took 0.31 seconds.

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

    Where/when do you want the mouse location?
    If only over a component, use a mouse listener for that component.
  2. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    If you have working code in one program, look at how it works and copy the technique to the other program.
  3. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    Strange. I was able to get the earlier code to work without exceptions.
  4. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    When you get errors, please copy and paste the full text of the error message here. Also post the code that generated the error.
  5. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    Why not read the API doc or the tutorial to see how to use a Timer?
  6. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    What will cause the actionPerformed method to be called? Is that code working properly?
  7. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    Good luck on your project. Until I see the two changes I mentioned, I'm done here.
  8. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    I can't believe that you have over 1000 posts and ignore something as simple as starting the app window with a size.

    Plus you don't exit the JVM when you close the window so it leaves orphan...
  9. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    I've told you about this before and you seem to have ignored it.
    When I execute your program all I get is a titlebar, no window???
    Please fix it and post working code next time.
  10. [SOLVED] Re: Why isn't the MouseListener showing the X and Y cords like I want it to?

    Please explain.
    Try debugging the code by adding printlns to it to show the execution flow.

    You need to understand your program's logic and the problem you are having so that you can write a...
Results 1 to 10 of 10