void (final Graphics g) { // Passive decoration final RadRootContainer root = myEditor.getRootContainer(); for(int i = root.getComponentCount() - 1; i >= 0; i--){ final RadComponent component = root.getComponent(i); paintPassiveDecoration(component, g); } // Paint active decorators paintChildren(g); }