<Swing Dev> Fix for JDK-6827800 : Default button is activated even when it is invisible
Rajeev Chamyal
rajeev.chamyal at oracle.com
Thu May 26 10:46:55 UTC 2016
Fix looks fine to me.
Regards,
Rajeev Chamyal
-----Original Message-----
From: Sergey Bylokhov
Sent: 25 May 2016 22:12
To: Ajit Ghaisas; swing-dev at openjdk.java.net; Alexander Scherbatiy; Rajeev Chamyal
Subject: Re: Fix for JDK-6827800 : Default button is activated even when it is invisible
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