[OpenJDK 2D-Dev] [9] RFR 6212751: DOC: ServiceUI.printDialog() need to enhance the description for X, Y coordinates

prasanta sadhukhan prasanta.sadhukhan at oracle.com
Fri May 27 11:54:06 UTC 2016

Hi All,

Please review a doc fix for jdk9.
Bug: https://bugs.openjdk.java.net/browse/JDK-6212751
webrev: http://cr.openjdk.java.net/~psadhukhan/6212751/webrev.00/

After JDK-8138749 <https://bugs.openjdk.java.net/browse/JDK-8138749> 
multimonitor support fix, the doc needs some change. It was also 
misleading in the first place as the bugdescription pointed out
which is API doc for ServiceUI.printDialog() specifies that X,Y are 
location of the dialog in screen coordinates, but for multmonitor setup, 
it should be w.r.t to secondary screen
. If the sec monitor starts at 1025, 0 and If I specify 1025 as the X 
coordinate, the calculated X value would be 1025 + 1025 = 2050 which 
actually exceeds the bounds of virtual screen.

Updated the documentation .

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20160527/ae1a33d6/attachment.html>

More information about the 2d-dev mailing list