Class MultiLineToolTip

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class MultiLineToolTip extends JToolTip

Allows using more than one line length tooltips. It also automatically calculates the size of the screen rectangle used and the preferred sized up on the contained text. It does NOT format the text to fit within a given size. The user must provide the text as she/he wishes to show it.

It means that new line characters must be placed in the string as well as it was a System.out.println statement.

Author:
jaume dominguez faus - jaume.dominguez@iver.es
See Also:
  • Constructor Details

    • MultiLineToolTip

      public MultiLineToolTip()