Re: JComboBox cell renderer doesn't render the top item
- From: jonck@xxxxxxxxxxxxxxx
- Date: 24 Nov 2005 12:56:58 -0800
> How could it be solved? Thanks, again, in advance.
One way would be to set up your comboBox as a listener (this would
involve overriding or wrapping JComboBox in a custom class) to whatever
determines which style should be used, and in your listener code call
setFont on your comboBox (and then invalidate and validate probably).
.
- References:
- JComboBox cell renderer doesn't render the top item
- From: hiwa
- Re: JComboBox cell renderer doesn't render the top item
- From: Roedy Green
- Re: JComboBox cell renderer doesn't render the top item
- From: hiwa
- JComboBox cell renderer doesn't render the top item
- Prev by Date: Re: JComboBox cell renderer doesn't render the top item
- Next by Date: Re: DefaultTreeCellRenderer moves the placement of children in JTree
- Previous by thread: Re: JComboBox cell renderer doesn't render the top item
- Next by thread: Re: JComboBox cell renderer doesn't render the top item
- Index(es):