質問

I wan' t to customize the apparence of my JTable. I wan' t to remove the column identifiers that's hold the column name. I don' t want to simply leave it blank but I wan't to "hide" that. any suggestion? thanks!

役に立ちましたか?

解決

You can hide the table header this way:

table.getTableHeader().setVisible(false);

Or you can remove it entirely:

table.setTableHeader(null);
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top