if (graphics == null)
return 0;
FontMetrics fm = graphics.getFontMetrics(font);
int level = treetable.getTree().isRootVisible() ? 1 : 0;
TreeTableNode node = (TreeTableNode) ((SimpleTreeTableModel) treetable.getModel()).getRoot();
int columnMaxWidth = determineMaxColumnWidth(node, treetable.getTree().isRootVisible(), column, level, 0, fm);
if (column == 0)
treeColumnMaxWidth = columnMaxWidth;
return columnMaxWidth;