RFR: 8279614: The left line of the TitledBorder is not painted on 150 scale factor [v3]

Alexey Ivanov aivanov at openjdk.java.net
Mon May 9 16:30:01 UTC 2022


On Mon, 14 Mar 2022 19:28:32 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   added functions for drawing border, fixed translate
>
> src/java.desktop/share/classes/javax/swing/border/TitledBorder.java line 36:
> 
>> 34: import java.awt.Rectangle;
>> 35: import java.awt.geom.Path2D;
>> 36: import java.awt.geom.Rectangle2D;
> 
> This import isn't used. There are no other changes to this file but this added import.
> 
> In addition to it, you can also remove java.beans.PropertyChangeEvent from imports which is unused as well.

Either revert the changes to `TitledBorder` or remove the two unused imports: `java.awt.geom.Rectangle2D` and `java.beans.PropertyChangeEvent`.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7449



More information about the client-libs-dev mailing list