<Swing Dev> [9-client] Review request for bug JDK-6988172 In Metal Laf, although the last menu is closed, the menu button still get selected.

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Tue Sep 15 15:27:17 UTC 2015


On 9/11/2015 8:40 PM, shilpi rastogi wrote:
>
> On 9/11/2015 8:37 PM, Alexander Scherbatiy wrote:
>>
>>
>>  Hi Shilpi,
>>
>>  You need to add the issue summary to the email subject and give some 
>> description about the fix details.
>>
>>   Thanks,
>>   Alexandr.
>>
>> On 9/11/2015 1:00 PM, shilpi rastogi wrote:
>>> Hi all,
>>>
>>> Please review a bug fix
>>>
>>> Bug Link- https://bugs.openjdk.java.net/browse/JDK-6988172
>>>
>>> http://cr.openjdk.java.net/~psadhukhan/shilpi/webrev/ 
>>> <http://cr.openjdk.java.net/%7Epsadhukhan/shilpi/webrev/>
>   For Metal Laf the Escape key hides the last open submenu, if the 
> last menu is closed then the menu button gets unselected.

     According to the original issue JDK-4314194 JRadioButton subclasses 
do not use configured color for disabled foreground
     "In Java look and feel (Metal), subclasses of JRadioButton 
(including JCheckBox) do not use the configured color for foreground 
when disabled."

      The test was created to check the JRadioButton foreground on Metal 
L&F so it should be updated to use Metal L&F as well.

     Thanks,
     Alexandr.

> Re-factor the code, have used EDT. Test was using Applet.
>
>>>
>>> Thanks,
>>> Shilpi
>>
>




More information about the swing-dev mailing list