code: @Override
      public void paint(Graphics g, Shape allocation)
      {
          if (view != null)
          {
              view.paint(g, allocation);
          }
      }
docs: Renders the view.
  
  @param g
  the graphics context
  @param allocation
  the region to render into