JTable adjusting column width or height
In my JTable is there a way to restrict the user in adjusting the height of the row or width of a column using the mouse.I am already using
JTable table=new JTable();
table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
table.getTableHeader().setReorderingAllowed(fals开发者_如何学运维e);
The table is inside a scroll panel.
table.getTableHeader().setResizingAllowed(false);
精彩评论