RFR: 8322140: javax/swing/JTable/JTableScrollPrintTest.java does not print the rows and columns of the table in Nimbus and Aqua LookAndFeel [v3]
Abhishek Kumar
abhiscxk at openjdk.org
Wed Apr 10 09:54:10 UTC 2024
On Wed, 10 Apr 2024 09:32:42 GMT, Tejesh R <tr at openjdk.org> wrote:
>> src/java.desktop/share/classes/sun/print/PathGraphics.java line 1155:
>>
>>> 1153: resolutionImage.getHeight(null),
>>> 1154: BufferedImage.TYPE_INT_ARGB);
>>> 1155: Graphics2D g2d = bufferedImage.createGraphics();
>>
>> Should we dispose the Graphics2D obj ?
>
> I'm not sure whether we have to dispose it here at this context.
Since you are creating it locally, I guess you can dispose it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18187#discussion_r1559164403
More information about the client-libs-dev
mailing list