Re: JTable and CellRenderer to change background colors
- From: "John McGrath" <ng@xxxxxxxxxxxxx>
- Date: Thu, 28 Apr 2005 22:00:45 GMT
On 4/28/2005 at 8:09:38 AM, Christian wrote:
> Now how can I assign one renderer for each cell in my table or is
> there a more convenient way to change the background colors?
Override prepareCellRenderer(), get the component from the superclass, and
set the background color on the component.
--
Regards,
John McGrath
.
- References:
- JTable and CellRenderer to change background colors
- From: Christian
- JTable and CellRenderer to change background colors
- Prev by Date: Re: JTable and CellRenderer to change background colors
- Next by Date: Re: doubt in JScrollpane
- Previous by thread: Re: JTable and CellRenderer to change background colors
- Next by thread: Java GUI -v- .NET Winforms ?
- Index(es):
Relevant Pages
|