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/
This is a backported fix from the JDK 8 to JDK 7u6.
The JDK 8 patch does not require changes.
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.