<Swing Dev> Tool to display Swing control hierarchy

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Nov 25 13:24:49 UTC 2015


Note that in jdk9 this option is disabled by default, to enable it you 
should pass  -Dsun.awt.nativedebug=true to the java.

On 25.11.15 10:03, Andrej Golovnin wrote:
> Hi Pete,
>
> start your Swing application from the console. When you application is
> started and has focus, then press CTRL-SHIFT-F1. Now you should see
> the control hierarchy in the console.
>
> Best regards,
> Andrej Golovnin
>
> On Wed, Nov 25, 2015 at 5:23 AM, Pete Brunet <peter.brunet at oracle.com> wrote:
>> Is there a tool that will show me the control hierarchy of a Swing app?
>> -Pete


-- 
Best regards, Sergey.



More information about the swing-dev mailing list