<AWT Dev> [8] Review request for 7185512 The printout doesn't match image on screen.

Artem Ananiev artem.ananiev at oracle.com
Mon Jul 23 06:22:48 PDT 2012

On 7/23/2012 4:57 PM, Alexander Scherbatiy wrote:
> On 7/23/2012 2:29 PM, Sergey Bylokhov wrote:
>> Hi, Alexander.
>> Does we get correct text in the textfield in the testcase from the
>> CR(printAll)?
> I think it can be treated as a separated issue that the RICHEDIT control
> with the current settings in the AwtTextField class does not show text
> after CR symbol.
> It does not relate to the printing functionality.

Agree. It looks like a minor issue, which can be addressed in JDK8 time 
frame. Could you file the bug, please?



> Thanks,
> Alexandr.
>> 23.07.2012 14:14, Alexander Scherbatiy wrote:
>>> Please review the fix:
>>> bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7185512
>>> webrev: http://cr.openjdk.java.net/~alexsch/7185512/webrev.00/
>>> After switching the EDIT control to RICHEDIT for the TextField
>>> component the WM_PRINTCLIENT message should also be handled in the
>>> same way as it is done for the TextArea.
>>> The WM_PRINTCLIENT message handling is moved to the AwtTextComponent
>>> class in the fix.
>>> Thanks,
>>> Alexandr.

More information about the awt-dev mailing list