code: public void displaySelection(final WComponent selectedComponent) {
  		WComponent currentComponent = getCurrentComponent();
  
  		if (selectedComponent == currentComponent) {
  			// We are already displaying this component, so nothing to do.
  			return;
  		}
  
  		// We have a new selection so display it.
  		container.removeAll();
  		container.add(selectedComponent);
  	}
docs: Get the example picker to display the given selected component.
  
  @param selectedComponent the wcomponent to be displayed.