🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Focusproblem in a JTable

#9353
From: Greg Hamer
Date: Mon, 17 Apr 2000 00:00
18 lines
1123 bytes
I think that you want to call

 setRowSelectionAllowed(true);

Andreas Andersson <andreas.andersson@medicinsklogik.se> wrote in message
news:38f7019a@dnews...
> Hi,
> I'am having a problem when a cell is selected in my JTable there is some
> kind of selectedgrid around the cell which is yellow. In my table i just
> want to be able to choice rows and I'm not interest in which cell the user
> has selected only which row the user selected. Can I in some simple way
> remove the extra grid around the cell and just use default selectedcolor
for
> the hole row.
>
> // Andreas
>
>
Technical Details
Message-ID: <8dg904$4v6@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38f7019a@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c8f4190c448e4a98
X-Google-Attributes: gid111d45,public
From: "Greg Hamer" <ghamer@corp.netzero.net>
Subject: Re: Focusproblem in a JTable
Date: 2000/04/17
Message-ID: <8dg904$4v6@bornews.borland.com>
X-Deja-AN: 612469926
References: <38f7019a@dnews>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing