|
From: Dirk M. <dmo...@gm...> - 2001-02-22 22:14:57
|
Hi,
how do I add a MouseListener to a (non-editable) JComboBox, that =
actually works?!?
JComboBox comboBox =3D new JComboBox();
comboBox.setEditable(false);
comboBox.addMouseListener(new MouseAdapter() {...});
...doesn't work; the listener is never triggered... :-(
(Tried both swing-1.1.1fcs/JDK 1.1.x and IBM JDK 1.3.0.)
Dirk.
|