Re: Fix for JDK-6827800 : Default button is activated even when it is invisible

2016-05-26 Thread Rajeev Chamyal
Fix looks fine to me. Regards, Rajeev Chamyal -Original Message- From: Sergey Bylokhov Sent: 25 May 2016 22:12 To: Ajit Ghaisas; swing-dev@openjdk.java.net; Alexander Scherbatiy; Rajeev Chamyal Subject: Re: Fix for JDK-6827800 : Default button is activated even when it is invisible

Re: Fix for JDK-6827800 : Default button is activated even when it is invisible

2016-05-25 Thread Sergey Bylokhov
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

Fix for JDK-6827800 : Default button is activated even when it is invisible

2016-05-25 Thread Ajit Ghaisas
Hi, 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