JDK-4533820 : Extend InputVerifiers to keep events from firing on target components.
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.3.0,1.3.1_01,1.4.0,1.4.1
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic,windows_nt,windows_2000
  • CPU: generic,x86
  • Submitted: 2001-11-30
  • Updated: 2017-05-23
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
If the currently focused component has an input verifier that returns false,
does not want to yield focus, and a button is clicked the action is still fired.
Developers expect the input verifier to keep the events from firing on
components if focus isn't yielded.

Comments
EVALUATION InputVerifiers are intended to control focus and not events. It is questionable whether this should be supported by the developer or by the InputVerifier. As mentioned in the comments section there definately is code out there already depending on the events being fired. ###@###.### 2003-01-02
02-01-2003