<Swing Dev> Should disable item be navigable?
Alexander.Potochkin at oracle.com
Tue Mar 29 11:02:18 PDT 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
>>> I have notice, in the
>>> 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?
Let's make it this way:
I run SwingSet2 with default LaF
and checked that disabled menu items in the File menu
(Open, Save and Save as)
are not selectable
then I switched to Windows LaF
and now they are selectable
do you see any problems here?
More information about the swing-dev