TableColumnModel tcm = table.getColumnModel(); tcm.getColumn(0).setHeaderValue("whatever you want"); 或者,您可以在创建JTable时覆盖 getColumnName(.
確定! 回上一頁