public class BubbleToolTip extends Object
setVisible(false) when you are finished with the popup| Constructor and Description |
|---|
BubbleToolTip(String message,
JComponent sourceComponent)
A tooltip component in the shape of a speech bubble (a rectangle on Mac because they ruin it by painting a rectangular shadow around everything).
|
BubbleToolTip(String message,
JComponent sourceComponent,
Icons icon)
A tooltip component in the shape of a speech bubble (a rectangle on Mac because they ruin it by painting a rectangular shadow around everything).
|
public BubbleToolTip(String message, JComponent sourceComponent)
message - the message to display (can be plaintext or html)sourceComponent - the component on which to place the tooltip (the tooltip places itself to the right of the component)public BubbleToolTip(String message, JComponent sourceComponent, Icons icon)
message - the message to display (can be plaintext or html)sourceComponent - the component on which to place the tooltip (the tooltip places itself to the right of the component)icon - an icon to display to the left of the text (may be null)