public class UiTools extends Object
Modifier and Type | Field and Description |
---|---|
static int |
TOOLTIPDELAY
Tootltip delay for this window in ms.
|
static int |
toolTipLength
Length of tool tip text.
|
Constructor and Description |
---|
UiTools() |
Modifier and Type | Method and Description |
---|---|
static String |
getToolTipString(String toolTip)
Get tooltip string wrapped.
|
static void |
setToolTip(JComponent c,
String toolTip)
Set tooltip to component with line breaking.
|
public static final int TOOLTIPDELAY
public static int toolTipLength
public static void setToolTip(JComponent c, String toolTip)
c
- componenttoolTip
- tooltip textCopyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.