File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable" Watch "JTable" New topic


dino gan

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

Joined: Oct 16, 2004
Posts: 20
Use the getValueAt(int row, int col) method to get the actual data
I agree. Here's the link:
subject: JTable
It's not a secret anymore!