void (Graphics g) { Objects.requireNonNull(myCurrentValueForPainting); JList<?> component = Objects.requireNonNull(UIUtil.getParentOfType(JList.class, this)); scheduleHighlightingIfNeeded(component); applyEditorHighlighting(myCurrentValueForPainting); applyEditorSpeedSearchHighlighting(SpeedSearchSupply.getSupply(component)); SpeedSearchUtil.applySpeedSearchHighlighting(component, myTitle, true, myCurrentSelectedForPainting); super.paintComponent(g); }