Re: [9] Review Request: 8029196 Focus border of JButton.buttonType=roundRect is cut off

2014-04-01 Thread Petr Pchelko
Hello, Sergey. Thank you for the clarification. I was worried because the focus size is hard-coded. The fix looks good to me. With best regards. Petr. On 01.04.2014, at 16:53, Sergey Bylokhov wrote: > On 4/1/14 4:33 PM, Petr Pchelko wrote: >> Hello, Sergey. >> >> Does the fix work for retina

Re: [9] Review Request: 8029196 Focus border of JButton.buttonType=roundRect is cut off

2014-04-01 Thread Sergey Bylokhov
On 4/1/14 4:33 PM, Petr Pchelko wrote: Hello, Sergey. Does the fix work for retina thin focuses and non-retina thick? yes, it works in both cases. With best regards. Petr. On 01.04.2014, at 15:46, Sergey Bylokhov wrote: Hello. Please review the fix for jdk 9. JRS draws all component in sp

Re: [9] Review Request: 8029196 Focus border of JButton.buttonType=roundRect is cut off

2014-04-01 Thread Petr Pchelko
Hello, Sergey. Does the fix work for retina thin focuses and non-retina thick? With best regards. Petr. On 01.04.2014, at 15:46, Sergey Bylokhov wrote: > Hello. > Please review the fix for jdk 9. > JRS draws all component in specified bounds, but if a component is in focus, > the frame of foc

[9] Review Request: 8029196 Focus border of JButton.buttonType=roundRect is cut off

2014-04-01 Thread Sergey Bylokhov
Hello. Please review the fix for jdk 9. JRS draws all component in specified bounds, but if a component is in focus, the frame of focus can exceed the limit of the specified bounds. The focusable components take this into account in the insets, but we cut the focus anyway, because we create the