gui
Class Utils
java.lang.Object
gui.Utils
class Utils
- extends java.lang.Object
Field Summary |
private static java.util.logging.Logger |
logger
|
Constructor Summary |
Utils()
|
Method Summary |
static void |
centerWindow(java.awt.Component component)
Centers a window on the screen. |
static javax.swing.ImageIcon |
createImageIcon(java.lang.String path,
java.lang.String description)
Returns an ImageIcon, or null if the path was invalid. |
static void |
createXSLTFile(java.lang.String xsltFile)
|
static boolean |
isStringEmpty(java.lang.String str)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static java.util.logging.Logger logger
Utils
Utils()
createImageIcon
public static final javax.swing.ImageIcon createImageIcon(java.lang.String path,
java.lang.String description)
- Returns an ImageIcon, or null if the path was invalid.
isStringEmpty
public static boolean isStringEmpty(java.lang.String str)
- Parameters:
newMessage
-
- Returns:
centerWindow
public static void centerWindow(java.awt.Component component)
- Centers a window on the screen.
createXSLTFile
public static final void createXSLTFile(java.lang.String xsltFile)