Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Get Rows of JTable (http://www.velocityreviews.com/forums/t133758-get-rows-of-jtable.html)

Ricardo Patricio 05-24-2004 02:48 PM

Get Rows of JTable
 
Hello,

I would like to now how is possible to get the Row that is selected by
an user in a Jtable.

Thank You
Ricardo Patrício

Corey Brown 05-24-2004 06:32 PM

Re: Get Rows of JTable
 


"Ricardo Patricio" <rpatricio@dinefer.pt> wrote in message news:40b20ea8$0$16126$a729d347@news.telepac.pt...
> Hello,
>
> I would like to now how is possible to get the Row that is selected by
> an user in a Jtable.
>
> Thank You
> Ricardo Patrício


int[] rows = myTable.getSelectedRows();

Cheers,
--Corey




All times are GMT. The time now is 12:30 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.