Article View: borland.public.jbuilder.java.swing
Article #9946Re: How to programatically select a row in JTable. Please HELP
From: Imran Hussain
Date: Wed, 15 Dec 1999 00:00
Date: Wed, 15 Dec 1999 00:00
30 lines
1361 bytes
1361 bytes
Thank you very much. Greg Hamer wrote: > jTable.getSelectionModel().setSelectionInterval(startingRow,endingRow); > where startingRow and endingRow are type int, and the first row of the table > is 0. > > Imran Hussain wrote: > > > Hi, > > I need to programatically change the selected row in a JTable. I > > searched the API docs but could not find a function like setSelection or > > setCurrentRow. > > > > Could someone please help me out. > > > > Thanks, > > Imran. -- ===================================================================== Imran Hussain imranh@imranweb.com For FREE Software visit http://www.imranweb.com/freesoft =====================================================================
Technical Details
Message-ID:
<3857EFEE.57C8FD13@imranweb.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3857C1D4.6A225AE1@imranweb.com> <3857CEFA.DB0C015D@borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,3e1af3c9adc5980 X-Google-Attributes: gid111d45,public From: Imran Hussain <imranh@imranweb.com> Subject: Re: How to programatically select a row in JTable. Please HELP Date: 1999/12/15 Message-ID: <3857EFEE.57C8FD13@imranweb.com> X-Deja-AN: 561086439 Content-Transfer-Encoding: 7bit References: <3857C1D4.6A225AE1@imranweb.com> <3857CEFA.DB0C015D@borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing