Re: keep open JComboBox drop-down list
- From: hiwa <HGA03six30@xxxxxxxxxxx>
- Date: Fri, 25 Nov 2005 20:11:12 +0900
jessu wrote:
Thanks jessu.Try setting ListCellRenderer. This allows you to show the component that you wanted as the rendere of the JComboBox
--------------- FeedTV : http://www.feedfeeds.com/feedtv
I have added the following lines onto my cell renderer method. It works fine as expected.
------------
if (isSelected && (! masterBox.isPopupVisible()) // currently non-visible
&& prefix.equals("- ")){ // sub items expanded
masterBox.showPopup();
masterBox.setPopupVisible(true);
}
------------
Thanks again and I re-respect people on cljg much more highly than ever.
But ... I don't understand why showPopup() doesn't work from action listener .... ???
.
- References:
- keep open JComboBox drop-down list
- From: hiwa
- Re: keep open JComboBox drop-down list
- From: jessu
- keep open JComboBox drop-down list
- Prev by Date: Re: keep open JComboBox drop-down list
- Next by Date: Re: mouseDragged() sensitivity?
- Previous by thread: Re: keep open JComboBox drop-down list
- Next by thread: disable ctrl+alt+del
- Index(es):