Example usage for Java javax.swing JToolTip fields, constructors, methods, implement or subclass
The text is from its open source code.
JToolTip() Creates a tool tip. |
void | addMouseListener(MouseListener l) Adds the specified mouse listener to receive mouse events from this component. |
JComponent | getComponent() Returns the component the tooltip applies to. |
Dimension | getPreferredSize() If the preferredSize has been set to a non-null value just returns it. |
String | getTipText() Returns the text that is shown when the tool tip is displayed. |
void | setBackground(Color bg) Sets the background color of this component. |
void | setBorder(Border border) Sets the border of this component. |
void | setForeground(Color fg) Sets the foreground color of this component. |
void | setTipText(String tipText) Sets the text to show when the tool tip is displayed. |