void (JLabel projectIcon, Configurable configurable, @Nullable Project project, boolean selected) { if (project != null) { projectIcon.setIcon(AllIcons.General.ProjectConfigurable); projectIcon.setToolTipText(project.isDefault() ? IdeUICustomization.getInstance().projectMessage("configurable.default.project.tooltip") : IdeUICustomization.getInstance().projectMessage("configurable.current.project.tooltip")); projectIcon.setVisible(true); } else { projectIcon.setVisible(false); } }