code: protected void initLayout()
    {
      setOpaque( false );
      setBorder( BorderFactory.createLineBorder( Scheme.active().getWindowBorder() ) );
  
      GridBagLayout gridBag = new GridBagLayout();
      JPanel pane = new JPanel();
      pane.addMouseListener( this );
      pane.addMouseMotionListener( this );
      pane.setLayout( gridBag );
      GridBagConstraints c = new GridBagConstraints();
  
      _viewer = new HtmlViewer();
      _viewer.setText( _strHelpText );
      _viewer.setBorder( BorderFactory.createEmptyBorder( 0, 10, 0, 10 ) );
      _viewer.addMouseListener( this );
      _viewer.addMouseMotionListener( this );
      _scroller = new JScrollPane( _viewer );
      _scroller.setBorder( BorderFactory.createEmptyBorder( 0, 0, 0, 0 ) );
      _scroller.setMaximumSize( calcMaximumViewerSize() );
      _viewer.setBackground( Scheme.active().getTooltipBackground() );
  
      c.anchor = GridBagConstraints.CENTER;
      c.fill = GridBagConstraints.BOTH;
      c.gridx = 0;
      c.gridy = 0;
      c.gridwidth = GridBagConstraints.REMAINDER;
      c.gridheight = GridBagConstraints.REMAINDER;
      c.weightx = 1;
      c.weighty = 1;
      pane.add( _scroller, c );
  
      _editorKeyListener = new EditorKeyListener();
  
      add( pane );
  
      addSeparator();
  
      addMouseListener( this );
      addMouseMotionListener( this );
    }
docs: --------------------------------------------------------------------------------------------------