On 7/23/2012 5:22 PM, Artem Ananiev wrote:
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?
I have created the issue:
7186036 TextField class does not show text after CR on Windows
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7186036
Thanks,
Alexandr.
Thanks,
Artem
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.