Ver originalint row = table.getSelectedRow();
Ver originalString id=table.getValueAt(row, 0).toString();String name=table.getValueAt(row, 1).toString();
Ver originaltxt_id.setText(id);txt_name.setText(name);