Where/when do you want the mouse location?
If only over a component, use a mouse listener for that component.
Type: Posts; User: Norm
Where/when do you want the mouse location?
If only over a component, use a mouse listener for that component.
If you have working code in one program, look at how it works and copy the technique to the other program.
Strange. I was able to get the earlier code to work without exceptions.
When you get errors, please copy and paste the full text of the error message here. Also post the code that generated the error.
Why not read the API doc or the tutorial to see how to use a Timer?
What will cause the actionPerformed method to be called? Is that code working properly?
Good luck on your project. Until I see the two changes I mentioned, I'm done here.
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...
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.
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...