JDK-6192695 : Pressing "Enter" key on JComboBox in MotifL&F doesn't hide the dropdown(popup).
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2004-11-09
  • Updated: 2010-04-02
  • Resolved: 2005-04-07
Related Reports
Duplicate :  
Description
JAVA VERSION :
---------------
java version "1.5.0_02-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-ea-b02)
Java HotSpot(TM) Server VM (build 1.5.0_02-ea-b02, mixed mode)

STEPS TO REPRODUCE :
--------------------
1. set the JAVA_HOME to the above mentioned java version.
2. Compile and execute the test attached in MotifLookAndFeel.
3. After executing the test do the following
	a. Type "Ci" in the textfield.
	b. Move to the ComboBox and click on it so that the dropdown(popup) is 	          visible. 
 	c. Make sure that dropdown(popup) is visible and press "Enter". You can           see that the dropdown(popup) is still visible. Whereas this is not the            case in Metal, GTK and Windows L&F.

Note :- This happens in Tiger fcs and Mustang b02, but it is not happening mustang b04 onwards. Bug is still reproducible in Tiger update release.

EXPECTED BEHAVIOUR :
---------------------
When the "Enter" key is pressed the dropdown(popup) should be hidden.

ACTUAL BEHAVIOUR :
------------------
When the "Enter" key is pressed the dropdown(popup) is not hidden (is still visible).
###@###.### 2004-11-09 11:54:58 GMT