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.
Played with it here: http://blogs.sun.com/martink/entry/scripting_netbeans_in_ruby. Bunch of ideas there.