There is one method which prints layout information for particulat components. I knew one method is there but I forgot the name.
When you call that method for Swing component it displays layout information in detail for that component just like dumpstacktrace call.
Any idea? What is that method name? I read it in one book but forgot it. Or let me know some good ways to debug Java Swing layout.
When your JFrame is visible press CTRL+SHIFT+F1 and see the console output for the tree hierarchy of components and layouts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With