int index, boolean isSelected, boolean cellHasFocus) {
JComponent result = (JComponent) super.getListCellRendererComponent(
list, value, index, isSelected, cellHasFocus);
ListUI baseListUI = list.getUI();
ComboBoxUI baseComboUI = combo.getUI();
if ((baseListUI instanceof SubstanceListUI)
&& (baseComboUI instanceof SubstanceComboBoxUI)) {
SubstanceListUI listUI = (SubstanceListUI) baseListUI;
SubstanceComboBoxUI comboUI = (SubstanceComboBoxUI) baseComboUI;