-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
beta2
-
x86
-
windows_2000
Name: ddT132432 Date: 07/16/2001
C:\>java -version
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)
Can't select first item in editable JComboBox.
import javax.swing.*;
import java.awt.event.*;
public class ComboTest extends JDialog
{
public static void main( String[] args )
{
JComboBox combo = new JComboBox();
combo.setEditable( true );
combo.addItem( "Can't Select!" );
JFrame frame = new JFrame();
frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
frame.getContentPane().add( combo );
frame.pack();
frame.show();
}
}
Synopsys: Unable to select the first element in the JComboBox unless I add
more than 1 element to the JComboBox AND I also have to select another
element before I am able to select the first element.
(Review ID: 128139)
======================================================================