I didn't find any other way to resolve that issue,
so looks good to me.
Thanks,
Oleg
9/5/2012 5:24 PM, Alexander Scherbatiy wrote:
bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7194469
webrev: http://cr.openjdk.java.net/~alexsch/7194469/webrev.00/
The TextField control starts beeping on some keys pressing (enter, up,
down...) after switching the EDIT control to RICHEDIT.
It seems that there are no flags that can disable this beeping for the
RICHEDIT.
At least SES_ALLOWBEEPS flag from EM_GETEDITSTYLE is set to zero by
default but beeping is present.
The fix disables the beeper (in case if it was enabled) before the
necessary keys processing in the AWT TextField and enable it after that.
Thanks,
Alexandr.