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.
Build: NetBeans IDE Dev (Build 100715-b2df3ffac44b) VM: Java HotSpot(TM) Client VM, 16.2-b04, Java(TM) SE Runtime Environment, 1.6.0_19-b04 OS: Windows 7 User Comments: GUEST: opening the options menu GUEST: can't add WTK 2.5.2 in tools-->Java platform. when I selected the fold where wtk is installed, "Next" button can't change to enabled state. Maximum slowness yet reported was 15297 ms, average is 6577
Created attachment 100916 [details] nps snapshot
The problem method here is org.netbeans.modules.extbrowser.FirefoxBrowser.isHidden it delegates call to the call of org.netbeans.modules.extbrowser.NbDdeBrowserImpl.getBrowserPath which is native. The latter call load native library at least. I don't see for now easy way to fix this issue. The method "isHidden" is called via reflection. It's value is used in the layer.xml. So probably the whole infrastructure should be rewritten to call methods mentioned in the layer.xml in the separate thread.
HtmlBrowser.FactoryEditor.getTags() is no longer called in event-dispatch thread when the Options dialog is opened. Modified file: https://hg.netbeans.org/web-main/rev/d1c9d252a54a
Integrated into 'main-silver', will be available in build *201507100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d1c9d252a54a User: Jan Stola <jstola@netbeans.org> Log: #188767: HtmlBrowser.FactoryEditor.getTags() should not block event-dispatch thread.