public int getIconWidth() { int width = arrow.getIconWidth(); if (icon != null) width += icon.getIconWidth(); width += X_GAP; return width; }