<Swing Dev> Fix for JDK-6827800 : Default button is activated even when it is invisible

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed May 25 16:41:51 UTC 2016


Looks fine to me.

On 25.05.16 14:45, Ajit Ghaisas wrote:
>     This the fix for bug : https://bugs.openjdk.java.net/browse/JDK-6827800
>
>     Default button is activated even when it is invisible
>
>
>
>     Root cause :
>
>     Accepting Key press event even if the default button is invisible.
>
>
>
>     Fix :
>
>     In BasicRootPaneUI.java, accept key press only if the default button
> is being shown.
>
>
>
>     Please review the webrev :
>  http://cr.openjdk.java.net/~aghaisas/6827800/webrev.00/
>
>
>
> Regards,
>
> Ajit
>
>
>


-- 
Best regards, Sergey.



More information about the swing-dev mailing list