<Swing Dev> Should disable item be navigable?

Charles Lee littlee at linux.vnet.ibm.com
Tue Mar 29 02:14:45 UTC 2011


On 03/28/2011 10:46 PM, Alexander Potochkin wrote:
> 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

So if the native is supporting the navigation of disabled menu, the flag 
will be set TRUE as default?

>
> Thanks
> alexp




More information about the swing-dev mailing list