Method Summary |
|
final public static int | displayConfirmCancelDialog(Component parent, String message) |
final public static int | displayConfirmCancelErrorMessage(Component parent, String message) |
final public static int | displayConfirmDialog(Component parent, String message) |
final public static void | displayErrorMessage(Component parent, String message) |
public static void | displayExceptionErrorDialog(Frame owner, String message, Throwable e) Displays the error dialog displaying the stack trace from a
throws/caught exception. |
final public static void | displayInformationMessage(Component parent, String message) |
final public static String | displayInputMessage(Component parent, String title, String message) |
final public static void | displayWarningMessage(Component parent, String message) |
final public static int | displayYesNoDialog(Component parent, String message, String title) |
public static Color | getDefaultBorderColour() Convenience method for consistent border colour. |
public static Point | getLocationForDialog(Component component, Dimension dialogDim) Calculates and returns the centered position of a dialog with
the specified size to be added to the desktop area. |
public static Vector | getSystemFonts() Returns the system font names within a collection. |
public static Rectangle | getVisibleBoundsOnScreen(JComponent component) Returns the specified component's visible bounds within the screen. |
public static void | invokeAndWait(Runnable runnable) Runs the specified runnable in the EDT using
SwingUtilities.invokeAndWait(...) . |
public static void | invokeLater(Runnable runnable) Runs the specified runnable in the EDT using
SwingUtilities.invokeLater(...) . |
public static boolean | isDefaultLookAndFeel() Returns whether the current applied look and feel is
the EQ default look and feel (or the metal look with ocean theme). |
public static boolean | isMetalLookAndFeel() |
public static void | requestFocusInWindow(Component c) Executes requestFocusInWindow on the specified component
using invokeLater. |
public static void | scheduleGC() |
public static void | showNormalCursor(Component component) Sets the application cursor to the system normal cursor
the specified component. |
public static void | showWaitCursor(Component component) Sets the application cursor to the system wait cursor on
the specified component. |
public static void | startWorker(Runnable runnable) Executes the specified runnable using the
SwingWorker . |
public static boolean | usingOcean() Returns true if we're using the Ocean Theme under the
MetalLookAndFeel. |