private void showMessageFormatterOrColorizerPopupMenu(MouseEvent e, String menuTitle,
                                                        PluginableElementsContainer<? extends PluginableElement>
                                                          selectedPluginableElementsContainer, PluginableElementsContainer<? extends PluginableElement>
                                                          pluginableElementsContainer) {
    final JPopupMenu popupMenu = new JPopupMenu(menuTitle);
    popupMenu.add(new JLabel(menuTitle));
    ArrayList<PluginableElement> elements = new ArrayList<>(pluginableElementsContainer.getElements());
    elements.sort(new PluginableElementNameComparator());
    for (final PluginableElement pluginableElement : elements) {
      addMessageFormatterOrColorizerToMenu(popupMenu, pluginableElement, selectedPluginableElementsContainer);
    }
    popupMenu.show(e.getComponent(), e.getX(), e.getY());
  }
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