[TriLUG] OT - JTable
Christopher L Merrill
chris at webperformanceinc.com
Thu Jul 1 11:51:27 EDT 2004
Brian Henning wrote:
> Anyone, by the way, happen to know how (if it's even possible) to
> programmatically change the width of a column in a JTable?
JTable.getColumnModel().getColumn(n).setPreferredWidth()
see also
TableColumn.setMinWidth()
TableColumn.setMaxWidth()
TableColumn.setWidth()
--
-------------------------------------------------------------------------
Chris Merrill | http://www.webperformanceinc.com
Web Performance Inc. | http://www.webperformancemonitoring.net
Website Load Testing, Stress Testing, and Performance Monitoring Software
-------------------------------------------------------------------------
More information about the TriLUG
mailing list