Mikael Sundberg
Mikael Sundberg

Reputation: 783

tooltip causing deadlock in swing/netbeans-rcp

I have a netbeans platform based app. It has an outlineview, with several columns. when i have my app maximised. and hover over the right most column to display the tooltip (that has to be adjusted due to end of screen). the application hangs (or rather, eventqueue is blocked). Sometimes it starts running again after a few seconds, but mostly i have to kill the application.

Its in Container.getTreeLock its deadlocked. It is only when the window is maximised
I don't have any computation for the string that is displayed.
I have tried several java6update versions
I have tried upgrading netbeans platform
None of my code is in the stacktrace when it is deadlocked.

I'm out of ideas, does anyone have any pointers?

Upvotes: 0

Views: 358

Answers (1)

Jay Askren
Jay Askren

Reputation: 10454

Not seeing your code, you may not be following the EDT rule which essentially says any interaction with the GUI must be done on the Event Dispatch Thread.

Here are a couple of pointers that may be useful:

Upvotes: 1

Related Questions