Debug Swing

Look at this nice Java Demo:

http://weblogs.java.net/blog/alexfromsun/archive/2007/11/debug_swing_rep.html

These here are other useful links: