United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4549203 : InputVerifier transmits mouse actions to the JComboBox and the JTable

Details
Type:
Bug
Submit Date:
2001-12-06
Status:
Closed
Updated Date:
2001-12-06
Project Name:
JDK
Resolved Date:
2001-12-06
Component:
client-libs
OS:
windows_nt
Sub-Component:
javax.swing
CPU:
generic
Priority:
P4
Resolution:
Duplicate
Affected Versions:
1.3.1_01,1.4.0
Fixed Versions:

Related Reports
Duplicate:

Sub Tasks

Description
Customer Problem Description:

InputVerifier transmits mouse actions to the JComboBox and the JTable even when shouldYieldFocus() returns false. This is probably a 'feature' but it is not a very desirable one.For instance,

-- Run InputVerifierTest
-- Type five characters in the JTextField.
-- Click on the JComboBox.
-- A message box appears, warning you that you've typed too many characters.
-- After dismissing the message, the combo popup appear and the combo button appears to be pressed (or 'armed').
-- The user needs to click outside of the combo box to get the popup to close. 

The combo should not show the popup window (or appear as pressed) if the InputVerifier has rejected user input.

                                    

Comments
EVALUATION

This is an RFE.  Input verifiers were designed to control focus.  Since most
components don't care whether they have focus before firing an action the input
verifiers don't block them.  I'll open an RFE for this and close this out as 
a duplicate.
###@###.### 2001-12-06
                                     
2001-12-06



Hardware and Software, Engineered to Work Together