[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Re: [OpenJDK 2D-Dev] [9] RFR JDK-8154218: Non-usage of owner Frame when Frame object is passed to ge
From: Jayathirth D V <jayathirth.d.v () oracle ! com>
Date: 2016-08-25 10:18:05
Message-ID: 8d20b03c-73fb-4faf-a05b-c6075223c7ff () default
[Download RAW message or body]
Hi Prasanta,
Changes are working fine.
Before pushing please make sure that in test case we have maximum 80 characters per \
line.
Thanks,
Jay
-----Original Message-----
From: Philip Race
Sent: Wednesday, August 24, 2016 10:21 PM
To: Prasanta Sadhukhan
Cc: 2d-dev
Subject: Re: [OpenJDK 2D-Dev] [9] RFR JDK-8154218: Non-usage of owner Frame when \
Frame object is passed to getPrintJob()
+1
Some day we should still consider an API that lets the application pass in an owner.
-phil.
On 8/24/16, 3:39 AM, Prasanta Sadhukhan wrote:
> Hi All,
>
> Please review a fix for an issue where it is seen that the Frame
> object passed to Toolkit.getPrintJob() is not used when cross platform
> print dialog is created, so the print dialog does not have an owner
> Frame and therefore if the parent frame is disposed, the print dialog
> is not affected.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8154218
> webrev: http://cr.openjdk.java.net/~psadhukhan/8154218/webrev.00/
>
> Proposed fix is to get the DialogOwner attribute which has been set
> in PrintJob2D.printDialog() and use the returned frame object as owner.
> As of now, null is explicitly passed as owner argument.
>
> Regards
> Prasanta
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic