my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable" Watch "JTable" New topic
Author

JTable

dino gan
Greenhorn

Joined: Oct 15, 2004
Posts: 1
Is it possible to get the actual data which has been selected in a JTable instead of just obtaining the index of the row?
Murugan Patham
Greenhorn

Joined: Oct 16, 2004
Posts: 20
Use the getValueAt(int row, int col) method to get the actual data
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTable
 
Similar Threads
jtable
Jtable
JTable
JTable