I create a table but cannot see the Column Headers.
I only see Data Rows. How can I see the headers?
My code:
jTable1 = new JTable();
.
.
String [] columnNames = {"xxx","xxx",xxx",....}
DefaultTableModel model = new DefaultTableModel(columnNames,numberOfRows);
jTable1.setModel( model);
ATTENTION : I don't want to use jTable(Object[],Object[]) Constructor.