void () { for (HighlightComponent component : myHighlightComponents) { JComponent glassPane = getGlassPane(component); if (glassPane != null) { glassPane.remove(component); glassPane.revalidate(); glassPane.repaint(); } } myHighlightComponents.clear(); if (myIsHighlighted) { for (Component component : myComponents) { ContainerUtil.addIfNotNull(myHighlightComponents, createHighlighter(component, null)); } if (myInfo != null) { Rectangle bounds = null; for (PropertyBean bean : myInfo) { if (UiInspectorAction.RENDERER_BOUNDS.equals(bean.propertyName)) { bounds = (Rectangle)bean.propertyValue; break; } } ContainerUtil.addIfNotNull(myHighlightComponents, createHighlighter(myInitialComponent, bounds)); } } }