-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
7
-
x86
-
windows_7
FULL PRODUCT VERSION :
Using JRE version 1.7.0_07-b10 Java HotSpot(TM) Client VM
ADDITIONAL OS VERSION INFORMATION :
Windows 7 ver 6.1.7601
A DESCRIPTION OF THE PROBLEM :
Pressing the Enter key results in an alert tone beep when focus is in a TextField.
This identical bug was introduced (and then resolved) in a previous version, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6367006
REGRESSION. Last worked in version 6u31
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Run the applet with source code given below. A working applet and the source code are at segal.org/java/beeping_textfield/.
2. Click in the TextField to get focus
3. Press the Enter key
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No sound should be produced.
ACTUAL -
An alert sound is produced. This is a problem because it suggests to the user that they did something wrong or the program malfunctioned.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
---------- BEGIN SOURCE ----------
import java.applet.*;
import java.awt.*;
public class beeping_textfield extends Applet {
public void init()
{
setBackground(new Color(200, 150, 200));
TextField textField = new TextField();
add(textField);
}
} // END OF Class beeping_textfield
---------- END SOURCE ----------
---------- END SOURCE ----------
Using JRE version 1.7.0_07-b10 Java HotSpot(TM) Client VM
ADDITIONAL OS VERSION INFORMATION :
Windows 7 ver 6.1.7601
A DESCRIPTION OF THE PROBLEM :
Pressing the Enter key results in an alert tone beep when focus is in a TextField.
This identical bug was introduced (and then resolved) in a previous version, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6367006
REGRESSION. Last worked in version 6u31
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Run the applet with source code given below. A working applet and the source code are at segal.org/java/beeping_textfield/.
2. Click in the TextField to get focus
3. Press the Enter key
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No sound should be produced.
ACTUAL -
An alert sound is produced. This is a problem because it suggests to the user that they did something wrong or the program malfunctioned.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
---------- BEGIN SOURCE ----------
import java.applet.*;
import java.awt.*;
public class beeping_textfield extends Applet {
public void init()
{
setBackground(new Color(200, 150, 200));
TextField textField = new TextField();
add(textField);
}
} // END OF Class beeping_textfield
---------- END SOURCE ----------
---------- END SOURCE ----------
- duplicates
-
JDK-7194469 Pressing the Enter key results in an alert tone beep when focus is TextField
-
- Resolved
-