Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug a swing UI?

I have a Swing screen and I want to debug which services or frames are being used by it. Earlier I have worked on Web apps and there we used used FireBug in firefox mozilla to see how things used in UI and navigate to services. I am new to swing and want to find out how this new application is using it.

like image 572
shruti rawat Avatar asked Oct 16 '15 05:10

shruti rawat


1 Answers

Here is the debug swing is Debugging Swing Applications with the UI Debugger it can be quite useful to debug Swing related application.

Another one Visual Debugger provided by NetBeans .

The swinginspector is a Java Swing/AWT user interface analysis and debugging tools, features, and similar firebug, powerful Swing/AWT user interface analysis and debugging function.

Here another thing i found

When your JFrame is visible press CTRL+SHIFT+F1 and see the console output for the tree hierarchy of components and layouts.

like image 128
Subodh Joshi Avatar answered Nov 15 '22 14:11

Subodh Joshi