public class Utils
extends java.lang.Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static void |
centerComponent(java.awt.Component component,
java.awt.Component reference)
Center a component in reference to another,
if the reference is null or not visible the screen is used as reference
|
static double |
getDoubleFromTextField(javax.swing.JTextField textField,
double defaultValue) |
static java.lang.String |
getEnv(java.lang.String name) |
static void |
showDefaultCursor(java.awt.Component component) |
static void |
showPredefinedCursor(java.awt.Component component,
int cursor) |
static void |
showWaitCursor(java.awt.Component component) |
public static double getDoubleFromTextField(javax.swing.JTextField textField, double defaultValue)
public static void centerComponent(java.awt.Component component, java.awt.Component reference)
public static void showWaitCursor(java.awt.Component component)
public static void showPredefinedCursor(java.awt.Component component, int cursor)
public static void showDefaultCursor(java.awt.Component component)
public static java.lang.String getEnv(java.lang.String name)
http://code.google.com/p/jam-lib/