void (@Nullable Icon icon, int layer) { LayeredIcon layeredIcon = getLayeredIcon(); layeredIcon.setIcon(icon, layer); if (hasIcons()) { myLabel.setIcon(layeredIcon); } else { myLabel.setIcon(null); } invalidateIfNeeded(); }