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

REGRESSION: InputVerifier don't work on JTextField when keyboard is used to change focus

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      generic, linux

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b38)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b38, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Linux (none) 2.6.11-gentoo-r9 #1 SMP Thu May 19 23:28:46 CEST 2005 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      InputValidator registered for a JTextField is either not called or the output is not used when you change focus to a different component using the TAB key.

      This was working correctly with the following Java version:

      java version "1.5.0_03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
      Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1) Create JTextField
      2) Associate an InputValidator with that text field
      3) Have another component in the same container that can receive focus
      4) Start the application
      5) Go the the first input field
      6) Type something invalid
      7) Try using mouse to change focus (won't work)
      8) Try using TAB to change focus (will work)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      Release Regression From : mustang
      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:
              son Oleg Sukhodolsky (Inactive)
              Reporter:
              rmandalasunw Ranjith Mandala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: