I use Netbeans,I press CTRL-BREAK while I run the program in this link about deadlock , but I didn't see anything.I want to see thread dump.

http://www.java-samples.com/showtuto...tutorialid=307

How can I see thread dump?What is the simplest way?