void (@NotNull JList list, Object value, int index, boolean selected, boolean hasFocus) { String jdkName = (String)value; if (jdkName == null || jdkName.length() == 0) jdkName = ""; Sdk jdk = GlobalAntConfiguration.findJdk(jdkName); if (jdk == null) { if (myProjectJdkName.length() > 0) { setIcon(AllIcons.Nodes.PpJdk); append(AntBundle.message("project.jdk.project.jdk.name.list.column.value", myProjectJdkName), selected && !(SystemInfoRt.isWindows && UIManager.getLookAndFeel().getName().contains("Windows")) ? SimpleTextAttributes.SELECTED_SIMPLE_CELL_ATTRIBUTES : SimpleTextAttributes.SIMPLE_CELL_ATTRIBUTES); } else { setIcon(PlatformIcons.INVALID_ENTRY_ICON); append(AntBundle.message("project.jdk.not.specified.list.column.value"), SimpleTextAttributes.ERROR_ATTRIBUTES); } } else { OrderEntryAppearanceService.getInstance().forJdk(jdk, myInComboBox, selected, true).customize(this); } }