Hello,
If I understand your question correctly, I would suggest you may want
to use a JList instead of a ComboBox. For more details, see:
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JList.html
and
http://java.sun.com/docs/books/tutorial/uiswing/components/list.html#selection
Carl.
> Is there a method to keep the pull down for a ComboBox, i.e., the user
> does not have to click on the ComboBox in order to pull down the list?
you probably need JList.

Signature
http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities
>Is there a method to keep the pull down for a ComboBox, i.e., the user
>does not have to click on the ComboBox in order to pull down the list?
see http://mindprod.com/jgloss/jlist.html. it is like a JComboxBox
that stays open. You can put it is a JScrollpane it if gets too big.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
minjie@excite.com - 28 Mar 2006 21:01 GMT
> >Is there a method to keep the pull down for a ComboBox, i.e., the user
> >does not have to click on the ComboBox in order to pull down the list?
[quoted text clipped - 5 lines]
> Canadian Mind Products, Roedy Green.
> http://mindprod.com Java custom programming, consulting and coaching.
Hi Guys, thank you all very much. A user requested to have that
ComboBox open by default, but reduce it when he wants to. I guess it's
not doable. Looks like I have to either use a JList to keep it open all
the time, or keep the ComboBox and have the user click on it to open
the list.
Carl - 28 Mar 2006 21:45 GMT
Sorry, from your initial post I got the impression that you were not
aware of the JList component.
If you are sure you only want to modify the state of a JComboBox you
should have a look at the setPopupVisible(boolean) method of the
JComboBox.
Carl.
minjie@excite.com - 28 Mar 2006 22:31 GMT
Hello Carl, thanks a lot! It worked!