For information on how to use the NetBeans profiler, see http://www.netbeans.org and http://blogs.sun.com/bhavani/entry/analyzing_the_performance_of_java.