code: protected void paintComponent(final RenderContext renderContext) {
  		Renderer renderer = UIManager.getRenderer(this, renderContext);
  
  		if (getTemplate() != null || getTemplateMarkUp() != null) {
  			Renderer templateRenderer = UIManager.getTemplateRenderer(renderContext);
  			templateRenderer.render(this, renderContext);
  		} else if (renderer == null) {
  			// Default is juxtaposition
  			List<WComponent> children = getComponentModel().getChildren();
  
  			if (children != null) {
  				final int size = children.size();
  
  				for (int i = 0; i < size; i++) {
  					children.get(i).paint(renderContext);
  				}
  			}
  		} else {
  			renderer.render(this, renderContext);
  		}
  	}
docs: This is where most of the painting work is normally done. If a layout has been supplied either directly or by
  supplying a velocity template, then painting is delegated to the layout manager. If there is no layout, the
  default behaviour is to paint the child components in sequence.
  
  @param renderContext the context to render to.