February 23, 2006

Invisible JTable Column Headers

THE SWING/JFC FAQ: "3.2. Why doesn't my JTable show the column names? Although JTable has the column information, it only shows the column headers when the table is put into a JScrollPane: panel.add(new JScrollPane(myJTable))"

No comments: