It seems to work in NetBeans 5.
http://beanshell.ikayzo.org/docs/display/BeanShell/Contributed+Code+and+Utilities
Regards,
Vinay Agarwal