Problem with loading excel data into JTable.
All I was able to find was about creating JTable from 2 dimensional array for rows and another single dimensional array for headers ...already filled with data in source code. Or way to do it for xls, not xlsx.
I can access rows and cells through for loop and via Apache POI and print them into console but I can not figure out how to add them into JTable.
When you take data from SQL, there is something like table.setModel(DbUtils.resultSetToTableModel(... with excel, I have not found anything like that, I have not found more less anything.
Any advice?