On Thu, 20 Oct 2022 16:07:20 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> Johan Vos has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   address reviewer comments
>>   Fix detection on screen, based on awtScale factors
>
> modules/javafx.swing/src/main/java/javafx/embed/swing/JFXPanel.java line 646:
> 
>> 644:                 Dimension2D fxcoord = 
>> getSwingToFxPixel(getGraphicsConfiguration(), p.x, p.y);
>> 645:                 screenX = (int)fxcoord.getWidth();
>> 646:                 screenY = (int)fxcoord.getHeight();
> 
> same question about negative coordinates.

and Point2D :-)

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

PR: https://git.openjdk.org/jfx/pull/924

Reply via email to