void (final RadComponent component) { final GuiEditor uiEditor = (GuiEditor)SwingUtilities.getAncestorOfClass(GuiEditor.class, component.getDelegee()); if (uiEditor != null) { uiEditor.repaintLayeredPane(); } }