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.
In the Usage section at [1], in the example code there is a missing } to close the anonymous Runnable object. It should be just before ); on the second last line. [1] http://bits.netbeans.org/dev/javadoc/org-openide-windows/org/openide/windows/WindowManager.html#invokeWhenUIReady(java.lang.Runnable)
This documentation problem still exists.