Icon (@Nullable Icon sourceIcon) { LayeredIcon icon = new LayeredIcon(2); icon.setIcon(sourceIcon, 0); icon.setIcon(AllIcons.General.Modified, 1, -AllIcons.General.Modified.getIconWidth(), 0); return icon; }