posted 18 years ago
Hi,
I have a JTable created using the DefaultTableModel but I am unable to get it to show the column headings. I have read that if you don't supply headings the table gets the defauls of A, B etc but on mine there is just nothing. I am creating a table with no rows (they get added at runtime) and it is part of a splitpane.
I am trying to create the column headings with the code below:
I then create my table..
Can anyone see why the column names aren't being displayed? Thanks
Amy