public class TipUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
getScreenBoundsForPoint(int x,
int y)
Returns the screen coordinates for the monitor that contains the
specified point.
|
static Color |
getToolTipBackground()
Returns the default background color to use for tool tip windows.
|
static Border |
getToolTipBorder()
Returns the border used by tool tips in this look and feel.
|
static void |
tweakTipEditorPane(JEditorPane textArea)
Tweaks a
JEditorPane so it can be used to render the
content in a focusable pseudo-tool tip. |
public static Rectangle getScreenBoundsForPoint(int x, int y)
x - The x-coordinate, in screen coordinates.y - The y-coordinate, in screen coordinates.public static Color getToolTipBackground()
public static Border getToolTipBorder()
public static void tweakTipEditorPane(JEditorPane textArea)
JEditorPane so it can be used to render the
content in a focusable pseudo-tool tip. It is assumed that the editor
pane is using an HTMLDocument.textArea - The editor pane to tweak.