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 bug was originally marked as duplicate of bug 210790, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build nbms-and-javadoc-418-on-20130906) VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16 OS: Windows 7 User Comments: GUEST: 7 Maximum slowness yet reported was 3644 ms, average is 3644
Created attachment 139792 [details] nps snapshot
The problem is, that JEditorPane.setContentType() takes a long time. However, methods on Swing classes should be called in event queue. There's no synchronization of JEditorPane.kit and JEditorPane.isUserSetEditorKit, therefore they're expecting that they are called in EQ. Also, kit.install() must be called in EQ. Therefore this must not be fixed.