I would like to create a table with the constructor method JTable(TableModel). What exact methods in the TableModel do I need to display the titles of each column?
I would like to create a table with the constructor method JTable(TableModel). What exact
Share
You need to embed your
JTablewithin aJScrollPaneand the column headings will be shown automatically: