How can I get the header values ββfrom JTable? Thanks.
Using the getColumnName(int) method
getColumnName(int)
jTable.getColumnName(columnIndex)
It is not obvious that the column name and the header name are the same. To get the title name: jTable1.getColumnModel (). GetColumn (i) .getHeaderValue ()