🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Highlighting of the whole row in a JTable

#1738
From: Christian Nan�oz
Date: Wed, 27 Aug 2003 14:09
11 lines
1511 bytes
Hi,

I have a JTable with a DataFileTableModel. I wanted to create a cellRenderer
to have the text contained in the cells on the right side. Therefore I wrote
a new class implementing the DefaultTableCellRenderer. The problem I now
have is that the row doesn't highlight any more when I click on a cell. How
can I resolve this problem ? Can I access all the cell of a row ?

Thanks for your help !

Christian
Technical Details
Message-ID: <3f4cbb8f$1_3@news.bluewin.ch>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.bluewin.ch!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5623e06cfd8ccd8,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-08-27 07:09:22 PST
From: "Christian Nan�oz" <christian.nancoz@unifr.ch>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Highlighting of the whole row in a JTable
Date: Wed, 27 Aug 2003 16:09:11 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 81.62.117.45
X-Original-NNTP-Posting-Host: 81.62.117.45
Message-ID: <3f4cbb8f$1_3@news.bluewin.ch>
X-Trace: news.bluewin.ch 1061993359 81.62.117.45 (27 Aug 2003 16:09:19 +0200)
Organization: Bluewin AG
Complaints-To: abuse@bluewin.ch
X-Original-NNTP-Posting-Host: 127.0.0.1
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.bluewin.ch!not-for-mail