Sunday, April 24, 2011

Debugging Swing Applications

A cool trick to debug Swing Application. Often when debugging swing applications we require to know where the code for a particular textbox or drop down or any other swing component is. If this is a huge legacy application chances of finding the code easily are slim. This is where i would recommend you check out JDeveloper. Jdeveloper has this cool feature that when you launch a swing application in UI debug mode , you can click on the swing component in the running application and directly go to its code.

http://www.oracle.com/technetwork/developer-tools/jdev/ui-debuger-087839.html

Also if the whole application root panel is getting selected try changing your desktop resolution and relauch the application . It worked for me ;-).

Also check out
http://glasstools.kedges.com/ThePoint/Install

No comments: