dcsimg
Finding out the selected row in a JTable
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Adam_Barclay
Posted On:   Sunday, May 12, 2002 08:37 AM

Hi

Can somebody please tell me how to find out the index of the currently selected row in a JTabel. Thanks

Re: Finding out the selected row in a JTable

Posted By:   Manisha_Phondekar  
Posted On:   Monday, May 13, 2002 10:14 AM

getSelectedRow()

Re: Finding out the selected row in a JTable

Posted By:   Dirk_Dieninghoff  
Posted On:   Sunday, May 12, 2002 11:24 AM

JTable implements the ListSelectionListener interface and has a method called getSelectedRow(). Is this what you are looking for?
About | Sitemap | Contact