简体   繁体   中英

inspect element in java swing application

In web applications that run with Tomcat from Eclipse, for example, we can right-click on an element in the page and inspect it (with Firebug, for example), and we can see the element's ID, class, etc. If we have a JAVA Swing application that we run from Eclipse (right-click project ==> debug as ==> eclipse application), can we do the same thing so that we can see which method, for example handles that element, or whatever? Can we inspect a JAVA Swing element as it runs (from Eclipse)? I already checked swing-inspector, but I do not want it.

Thank you

I am sorry that I can not offer you a solution for Eclipse. If you can use Netbeans it includes a Visual Debugger feature . It is simple to use and it is integrated in Netbeans by default.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM