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

J2SE_Swing_Reg: Hit the tab twice,the focus doesn't come to the first text field.

    Details

    • Subcomponent:
    • Resolved In Build:
      b97
    • CPU:
      generic, x86
    • OS:
      generic, windows_vista
    • Verification:
      Verified

      Description

      Build: 1.7.0.b64
      Platform:VistaUltimate.64bit
      Case#: closed/javax/swing/JScrollPane/4237560/bug4237560.java

      Steps to reproduce:
      1.setup the correct env for testing;
      2.execute as the case description:
      "A JEditorPane contains 10 input fields and is inserted into JScrollPane. Resize applet so that text field 1 is showing at the top, and the bottom two text fields are completely outside the visible area of the JScrollPane Click in the last visible text field, then hit tab twice. If this gives focus to the first text field, test passes, else it fails."

      # Expect behavior:
      Click in the last visible text field, then hit the tab twice. If this gives focus to the first text field, test passes

      # Actual behavior:
      Hit the tab twice,the focus goes to the second text field.instead of the first text field.
      As the attached screenshots shows.
      # Exceptions:
      None

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alexp Alexander Potochkin (Inactive)
                Reporter:
                tonyli Tony Li
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: