How to debug swing user interface?

I have a Swing screen and want to debug which services or frames it uses. I used to work on web applications, and there we used FireBug in firefox mozilla to see how things are used in the user interface and go to services. I am new to swing and want to know how this new application uses.

+5
source share
1 answer

Here is debugging swing Debugging Swing applications using the UI debugger , it can be very useful to debug the Swing related application.

Another Visual Debugger provided by NetBeans.

swinginspector is a Java Swing / AWT user interface analysis and debugging tool, functions and similar firebug, a powerful Swing / AWT user analysis and debugging user interface.

Here is another thing I found

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

+8
source

Source: https://habr.com/ru/post/1233833/


All Articles