protected final int getAfterIconX() {
    Icon icon = myNode.getIcon();
    if (icon != null) {
      SimpleColoredComponent iconLabel = new SimpleColoredComponent();
      iconLabel.getIpad().right = 0;
      iconLabel.getIpad().left = 0;
      iconLabel.setIcon(myNode.getIcon());
      Border border = iconLabel.getMyBorder();
      return iconLabel.getPreferredSize().width - (border != null ? border.getBorderInsets(iconLabel).right : 0);
    }
    return 0;
  }
protected final int getAfterIconX()