private JMenu[] getAutomaticMarkersMenu() {
    // AutomaticMarker[] markers = MarkersContainer.getInstance().getMarkers().toArray(new AutomaticMarker[0]);
    automaticMarkersMenu = new JMenu("Mark rows automatically");
    automaticMarkersMenu.setIcon(Icons.AUTOMATIC_MARKERS);
    automaticUnmarkersMenu = new JMenu("Unmark rows automatically");
    automaticUnmarkersMenu.setIcon(Icons.AUTOMATIC_UNMARKERS);
    updateMarkerMenu(markersContainer.getElements());
    return new JMenu[]{ automaticMarkersMenu, automaticUnmarkersMenu };
  }
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