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.
This issue was originally marked as duplicate of issue 167199, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related. Build: NetBeans IDE Dev (Build 200910071536) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Windows XP, 5.1, x86 User Comments: stefan79: Opened Options-Window. Maximum slowness yet reported was 4860 ms, average is 4860
Created attachment 89091 [details] nps snapshot
In issue 167199 I added wait cursor when Options dialog is about to open. According to T.Hurka's presentation I thought it is enough for actions from 3 to 10s. Am I wrong?
You are right while there is a wait cursor, 10s is acceptable. The problem in latest snapshot is that you spend 3s in AWT while calling "CategoryModel.getCurrentCategoryID" and you show wait cursor in OpenDisplayer.open() method that is called after that and it is already too late. You should take CategoryModel.getCurrentCategoryID out of AWT thread.
Wait cursor is already displayed when "CategoryModel.getCurrentCategoryID" is called. It doesn't make sense to move it out of AWT thread because user is waiting for appearing of the Options window anyway. *** This issue has been marked as a duplicate of 167199 ***