org.tfe.console
Class SwingUtilities

java.lang.Object
  |
  +--org.tfe.console.SwingUtilities

public final class SwingUtilities
extends java.lang.Object


Method Summary
static void setGlassPaneActive(boolean active, javax.swing.JRootPane pane)
          Given a JRootPane, sets the GlassPane active state on that pane.
static void setWaitCursorActive(boolean active, java.awt.Component c)
          Sets the wait cursor active or inactive on a specified Component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setGlassPaneActive

public static final void setGlassPaneActive(boolean active,
                                            javax.swing.JRootPane pane)
Given a JRootPane, sets the GlassPane active state on that pane.

Parameters:
active - true to activate the GlassPane, false to deactivate the GlassPane.
pane - the JRootPane on which to have the GlassPane activated/deactivated.

setWaitCursorActive

public static final void setWaitCursorActive(boolean active,
                                             java.awt.Component c)
Sets the wait cursor active or inactive on a specified Component.

Parameters:
active - true to make the wait cursor active, false to deactivate the wait cursor.
c - the JComponent on which to activate/deactivate the wait cursor.