void (RadComponent component) { // Only select the bottom-most background if (newSelection.isEmpty() && component.getBounds(myArea.getNativeComponent()).contains(selectionRectangle.x, selectionRectangle.y) && component.isBackground()) { newSelection.add(component); } }