private void updateColumnSizeIfVisible(TableColumns column, int width, int maxWidth) {
    table.getColumns(true).get(column.getColumn()).setMaxWidth(maxWidth);
    table.getColumns(true).get(column.getColumn()).setPreferredWidth(width);
  }
Set column size depending on configured display text/icon.
If the header is wider than contend, the width of header will be used.
olv-core/src/main/java/pl/otros/logview/gui/LogViewPanel.java