Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Mouse cursor occasionally gets stuck as the 'resize window' icon...

843806May 28 2008 — edited May 29 2008
I have a problem that pops up on rare occasions in my Swing app, and I would greatly appreciate thoughts on what might be happening (I'm having a very hard time troubleshooting because it only happens on very rare occasions). Basically, in the course of using the application the mouse cursor starts displaying the window resizing icon (the vertical up/down arrow) yet still functions as a normal mouse cursor. When this happens nothing I do causes it to revert to the regular arrow, but it will display the other icons when appropriate. I'd post code, but I haven't the faintest clue where the problem exists.

My only guess is that it has something to do with the heavy amount of threading going on in my application (a lot of images are being loaded in the background, but I'm fairly sure that all Swing objects are only being used in the event thread). The other possibility is that my use of the Substance LAF is contributing to the problem. I haven't experienced the problem without the LAF, but as I mentioned it only arises very rarely so this may be coincidence.

Any tips on how to troubleshoot this problem would be much appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 26 2008
Added on May 28 2008
8 comments
963 views