<Swing Dev> RFR: 8211999: Window positioning bugs due to overlapping GraphicsDevice bounds (Windows/HiDPI) [v4]

Alexey Ivanov aivanov at openjdk.java.net
Tue Nov 10 19:38:58 UTC 2020


On Tue, 10 Nov 2020 18:40:45 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java line 357:
>> 
>>> 355:      * @param  config the graphics configuration which bounds are requested
>>> 356:      * @return the bounds of the area covered by this
>>> 357:      *         {@code GraphicsConfiguration} in device space(pixels).
>> 
>> Suggestion:
>> 
>>      *         {@code GraphicsConfiguration} in device space (pixels).
>> If changed here, all other similar places should be updated too to keep doc comments consistent.
>
> I'll fix it and also merge the master, then update the PR.

In this case, also consider adding a space between the word and the opening parenthesis in these  _coordinates (x, y)_ and _size (w, h)_ and, probably, a space after comma.

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

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


More information about the swing-dev mailing list