This bug was originally marked as duplicate of bug 189647, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01, Java(TM) SE Runtime Environment, 1.6.0_31-b05
OS: Windows 7
Stevie69: Source/Format for a large Java file
Maximum slowness yet reported was 72725 ms, average is 72725
Created attachment 134040 [details]
DiffSidebar acquires document read lock when painting.
org.netbeans.modules.java.source.save.Reformatter.reformat() 99.87181 62,060 ms (99.9%) 62,060 ms
org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask() 99.87181 62,060 ms (99.9%) 62,060 ms
is holding the write long for too long.
Created attachment 134318 [details]
switching between browser and netbeans
*** This bug has been marked as a duplicate of bug 189647 ***