Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Inspect Element" tool for Java UI

I was looking for tool on Java that does the same (similar) functionality of "inspect element" of "Google Chrome". Does anyone has information whether this is available and how it can be implemented?

The question refers to cases when you have the Source code and you don't know the inside of it. Thus, the idea is to inspect elements (objects) on UI while running code!

like image 630
asterix55 Avatar asked Sep 16 '26 20:09

asterix55


1 Answers

Since you have access to the code you can use the Java Object Inspector. Just add one line of code at the right place:

Inspector.inspect(objectToInspect);
like image 99
Boomer Avatar answered Sep 19 '26 20:09

Boomer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!