JDK-6329055 : REGRESSION: InputVerifier don't work on JTextField when keyboard is used to change focus
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic,linux
  • CPU: generic,x86
  • Submitted: 2005-09-27
  • Updated: 2007-10-16
  • Resolved: 2006-02-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6Resolved
Related Reports
Relates :  
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.

Comments
EVALUATION This appears to be the same as 6378278, reassigning to AWT.
13-02-2006

EVALUATION Need clarification on what component focus is moving to. Moving to incomplete and contacting submitter.
27-09-2005