Different height at JComboBox editor and renderer
- From: "Beaned" <readingmymail@xxxxxxxxx>
- Date: 25 Aug 2006 10:41:21 -0700
I have a combo box which uses a custom ListCellRenderer which basically
displays two lines of text (the preferred name of an object and an
alternate name of the object). That works well. The problem is that the
editor for the combobox (which is editable) is being displayed with the
same height as the ListCellRenderer (ie two lines) but I would like it
to be normal and be a single text line height. I can't figure out how
to do this. Is this possible? If so could you please provide an example
of how it is done?
Thanks
.
- Follow-Ups:
- Re: Different height at JComboBox editor and renderer
- From: Babu Kalakrishnan
- Re: Different height at JComboBox editor and renderer
- From: IchBin
- Re: Different height at JComboBox editor and renderer
- Prev by Date: Re: JCreator beginners question
- Next by Date: Re: Different height at JComboBox editor and renderer
- Previous by thread: JCreator beginners question
- Next by thread: Re: Different height at JComboBox editor and renderer
- Index(es):