United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4533820 Extend InputVerifiers to keep events from firing on target components.
4533820 : Extend InputVerifiers to keep events from firing on target components.

Details
Type:
Enhancement
Submit Date:
2001-11-30
Status:
Open
Updated Date:
2010-08-04
Project Name:
JDK
Resolved Date:
Component:
client-libs
OS:
windows_nt,generic,windows_2000
Sub-Component:
javax.swing
CPU:
x86,generic
Priority:
P4
Resolution:
Unresolved
Affected Versions:
1.3.0,1.3.1_01,1.4.0,1.4.1
Targeted Versions:

Related Reports
Duplicate:
Relates:
Relates:

Sub Tasks

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
                                     
2003-01-02



Hardware and Software, Engineered to Work Together