你用的是 DefaultTableModel吧?      ((DefaultTableModel)model).addColumn(new String("列"+colNum));
就可以了.