This bug was originally marked as duplicate of bug 194559, 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 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Mac OS X
Maximum slowness yet reported was 3021 ms, average is 3021
Created attachment 127260 [details]
Seems like a JDK problem - 8 calls to
java.awt.FontMetrics.getStringBounds(...) took 2890 ms (as can be seen from the
attached NPS snapshot).