Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6367006

REGRESSION: Beep when focus in TextField and press Enter key

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b45
    • Introduced In Version:
      6
    • Resolved In Build:
      b77
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
      Standard edition 1.6.0-rc-b64, mixed mode, sharing

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      Pressing the Enter key results in an alert tone beep when focus is in a TextField.

      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 ----------
      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 ----------

      Release Regression From : 5.0u6
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              osemenovsunw Oleg Semenov (Inactive)
              Reporter:
              ndcosta Nelson Dcosta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: