public final class TableHelper extends Object
Modifier | Constructor and Description |
---|---|
private |
TableHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
adjustColumnWidth(JTable tbl,
int col,
int maxColumnWidth)
(originally from @class org.openstreetmap.josm.gui.preferences.SourceEditor)
adjust the preferred width of column col to the maximum preferred width of the cells
requires JTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
|
private TableHelper()
public static void adjustColumnWidth(JTable tbl, int col, int maxColumnWidth)