Re: [10] Review request for 8188081: Text selection does not clear after focus is lost

2017-10-20 Thread Sergey Bylokhov
On 19/10/2017 21:01, Semyon Sadetsky wrote: Actually the 8025082 was a JCK issue. It doesn't need to be fixed in JDK. Ok, Looks fine. --Semyon On 10/19/2017 05:23 PM, Sergey Bylokhov wrote: Hi, Semyon. On 19/10/2017 11:36, Semyon Sadetsky wrote: The 8025082 fix is reverted. Swing text sel

Re: [10] RFR JDK-8178025:HiDPI with non-integer scale factor - SPANs in HTML are rendered overlapping each other

2017-10-20 Thread Alan Snyder
Code would have to be changed to make it do that. I’m suggesting that is the right hook, but it is up to you to use it. Presumably as Swing is part of the JDK, access can be arranged... > On Oct 20, 2017, at 10:01 AM, Prasanta Sadhukhan > wrote: > > I do not see how updateGraphicsData() woud

Re: [10] RFR JDK-8178025:HiDPI with non-integer scale factor - SPANs in HTML are rendered overlapping each other

2017-10-20 Thread Prasanta Sadhukhan
I do not see how updateGraphicsData() woud trigger layout/span calculation. Moreover, it has package-protected access to be called for JLabel. Regards Prasanta On 10/20/2017 8:09 PM, Alan Snyder wrote: updateGraphicsData() is also called when the graphics configuration changes, which is what

Re: [10] RFR JDK-8178025:HiDPI with non-integer scale factor - SPANs in HTML are rendered overlapping each other

2017-10-20 Thread Alan Snyder
updateGraphicsData() is also called when the graphics configuration changes, which is what you want. Without that, you are stuck with the default graphics configuration, which is all that is available until the window is displayed. updateUI() seems like the wrong place to trigger the layout rel

Re: [10] Review Request: JDK-6463710 : ListSelectionModel.setSelectionMode() underspecified

2017-10-20 Thread Pankaj Bansal
Hi Sergey, I have updated the webrev for the changes you have proposed. Please have a look. Webrev http://cr.openjdk.java.net/~aghaisas/pankaj/6463710/webrev.02/ Regards, Pankaj Bansal -Original Message- From: Sergey Bylokhov Sent: Thursday, October 19, 2017 3:40 AM To: Pankaj Bansal; S