void () { RadComponent rootComponent = myArea.getRootComponent(); if (rootComponent != null) { final List<RadComponent> components = new ArrayList<>(); rootComponent.accept(new RadComponentVisitor() { @Override public void endVisit(RadComponent component) { if (!component.isBackground()) { components.add(component); } } }, true); myArea.setSelection(components); } }