Re: JComboBox cell renderer doesn't render the top item
- From: "Rene Ruppert" <rene.ruppert@xxxxxxxxxxx>
- Date: Thu, 24 Nov 2005 12:48:09 +0100
Hi,
> Below is an SSCCE for the problem. The renderer renders
> item text in the drop down list in italic font. But it doesn't render
> the top item of the box in italic. What could be the solution. T.I.A.
Just a guess: a JCombobox consists of a button, an editable field and a
drop-down list. You override the renderer for the list but not for the edit
field. Have a look at JComboBox.getEditor().
cu
René
.
- Follow-Ups:
- References:
- Prev by Date: JComboBox cell renderer doesn't render the top item
- Next by Date: Re: JComboBox cell renderer doesn't render the top item
- Previous by thread: JComboBox cell renderer doesn't render the top item
- Next by thread: Re: JComboBox cell renderer doesn't render the top item
- Index(es):