🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1563

Re: JdbTable CellRenderer

#1563
From: Olaf Raether
Date: Fri, 10 Oct 2003 19:19
29 lines
1562 bytes
1) This is a question for  dbSwing

2) 

For doing this, one solution is  to derive JdbTable and override the
method 

public  Component prepareRenderer(TableCellRenderer renderer, int row,
int column) {

 Component rendererComp = super.prepareRenderer(renderer,row,column);

 // do something or not...

 rendererComp.setFont(font);

}

hope this helps

Olaf Raether
o.raether@eprosoft.de

On Sun, 21 Sep 2003 12:30:07 +0200, "Aleksandar Pecanov"
<pecanov@mt.net.mk> wrote:

>I wrote a custom cell renderer and I want to use it with JdbTable. The
>problem is, it refuses to use it in anyway. What is the proper way to set
>up a custom cell renderer in a JdbTable?
Technical Details
Message-ID: <rd1eovstitd3rdklarrgpljdt7q8aq9uit@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!pd954d1ef.dip.t-dialin.NET!not-for-mail
References: <pan.2003.09.21.10.30.07.304474@mt.net.mk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,eeddca26cec9222b
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-10-10 12:19:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!pd954d1ef.dip.t-dialin.NET!not-for-mail
From: Olaf Raether <olaf@raether.de>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: JdbTable CellRenderer
Date: Fri, 10 Oct 2003 21:19:01 +0200
Lines: 30
Message-ID: <rd1eovstitd3rdklarrgpljdt7q8aq9uit@4ax.com>
References: <pan.2003.09.21.10.30.07.304474@mt.net.mk>
NNTP-Posting-Host: pd954d1ef.dip.t-dialin.net (217.84.209.239)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 1065813543 20693864 217.84.209.239 (16 [189516])
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)