<AWT Dev>  Review request for 7194469 Pressing the Enter key results in an alert tone beep when focus is TextField
alexandr.scherbatiy at oracle.com
Wed Sep 5 06:24:03 PDT 2012
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
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.
More information about the awt-dev