Re: Different height at JComboBox editor and renderer



Beaned wrote:
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

Personally I would need a working snippet of your code to help out.

--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
.



Relevant Pages

  • Re: QuickFom question
    ... Knowledge is the "Fountain of Youth"' ... -William E. Taylor, Regular Guy ... I am not a big fan of MySQL but it easy to use and 95% of Hosting sites seem to run it.. ...
    (comp.lang.php)
  • Re: JDK 1.7.0 project
    ... Standard Edition 7 Binary Snapshot Releases ... Knowledge is the "Fountain of Youth"' ... -William E. Taylor, Regular Guy ...
    (comp.lang.java.softwaretools)
  • Re: java 1.5 supported app Servers
    ... It also supports J2EE 1.5 compliance. ... Knowledge is the "Fountain of Youth"' ... -William E. Taylor, Regular Guy ...
    (comp.lang.java.programmer)
  • Re: XML GUI Components
    ... Try Google for opensource XML GUI databinding components ... Knowledge is the "Fountain of Youth"' ... -William E. Taylor, Regular Guy ...
    (comp.lang.java.gui)