This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Found in trunk #200907230201 ... it is reproducible from build #200907150201 It seems that is mac os x specific problem. Everytime when i set focus on ide or open projects tab for example whole ide freeze for a while. See dump from profiler which is attached. There you are able to see that the method setForeColor takes a lot af time.
Created attachment 85110 [details] profiler dump
I don't really see anything Netbeans specific here. The call ends up in JDK/java runtime and if this is slow on Mac there is not much we can do about it.
Reopening. Can be reproduced on each mac (leopard 10.5.7, latest java update).
I am not sure but I read the dump as that method sun.java2d.loops.DrawGlyphListAA.DrawGlyphListAA takes too long and/or is invoked too often. Really this does not seem to be NB problem. More like JDK on Mac problem. Can you please try one of those usual tricks like turning off font antialising and similar?
Sorry but this is not reproducible in build #20090714 ... in all later builds it is. Due to this fact it isn't mac java specific problem.
New informations gained. This is happening only when at least on of the tab is slided in. When docked it's ok. I recorded new profiler dump when you are able to find new details in awt thread. Reassigning to the windows system for evaluation.
Created attachment 85251 [details] profiler dump
sliding windows are now heavyweight components because of embedded browser. that's probably why repaints on mac are slow...
heavyweight sliding windows are reverted (core-main 156ecf0d4431) so there should be no issues with long repaints however the side-effect is that sliding windows will show beneath embedded browser window. on the other hand, embedded browser probably won't be supported on mac os x...
Verified in trunk