public class JTextComponentUtilities extends Object
| Constructor and Description |
|---|
JTextComponentUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static double |
getValueWidth(Component component,
String value) |
static double |
getValueWidth(Graphics graphics,
String value) |
static void |
setTextAndMoveToTop(Document document,
String text) |
static void |
setTextAndMoveToTop(JTextComponent textPane,
String text) |
public static void setTextAndMoveToTop(JTextComponent textPane, String text)
Copyright © 2007–2017 Andreas W. Bartels. All rights reserved.