Component (JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { if (myDescriptor.hasSeparatorAboveOf(value)) { Component component = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); if (hasSeparator(value, index)) { setSeparatorFont(list.getFont()); } ((XDebuggerFrameListRenderer)getItemComponent()).getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); return component; } else { return myOriginalRenderer.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); } }