SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the following code to get the value of the first column of the selected row of your table.
int column = 0; int row = table.getSelectedRow(); String value = table.getModel().getValueAt(row, column).toString();