<Swing Dev> Should disable item be navigable?

Alexander Potochkin Alexander.Potochkin at oracle.com
Mon Mar 28 14:46:06 UTC 2011


Hello Charles
> Hi guys,
>
> Are there some spec about the navigable? Should disable item be 
> navigable?
> I have notice, in the 
> src/share/classes/com/sun/java/swing/plaf/windows/WindowsLookAndFeel.java, 
> line 1000:
> "MenuItem.disabledAreNavigable", Boolean.TRUE,
>
> Should it to be FALSE as default?

It is dependent on a particular LaF,
in native Windows applications disabled menu items can be selected

Thanks
alexp



More information about the swing-dev mailing list