edu.neu.ccs.gui
Class Refresh

java.lang.Object
  |
  +--edu.neu.ccs.gui.Refresh

public class Refresh
extends Object

Class Refresh encapsulates methods for graphics refresh.

Class Refresh cannot be instantiated.

Since:
2.3

Method Summary
static void packParentWindow(JComponent component)
          Revalidates the given component, packs its parent window, and then repaints the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

packParentWindow

public static void packParentWindow(JComponent component)

Revalidates the given component, packs its parent window, and then repaints the component.

As of 2.3.3, prevents indirect recursive calls to this method that attempt to pack the same window object.

Parameters:
component - the component whose parent window should be packed