NASA World Wind

gov.nasa.worldwind.applications.gio.catalogui
Class SwingUtils

java.lang.Object
  extended by gov.nasa.worldwind.applications.gio.catalogui.SwingUtils

public class SwingUtils
extends Object


Constructor Summary
SwingUtils()
           
 
Method Summary
static void centerWindowInDesktop(Window window)
           
static void constrainMaximumHeight(Component c)
           
static void constrainMaximumWidth(Component c)
           
static void contrainMaximumSize(Component c)
           
static void fitWindowInDesktop(Window window)
           
static void invokeInEventThread(Runnable r)
           
static ImageIcon readImageIcon(String path, Class<?> cls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingUtils

public SwingUtils()
Method Detail

centerWindowInDesktop

public static void centerWindowInDesktop(Window window)

constrainMaximumHeight

public static void constrainMaximumHeight(Component c)

constrainMaximumWidth

public static void constrainMaximumWidth(Component c)

contrainMaximumSize

public static void contrainMaximumSize(Component c)

fitWindowInDesktop

public static void fitWindowInDesktop(Window window)

invokeInEventThread

public static void invokeInEventThread(Runnable r)

readImageIcon

public static ImageIcon readImageIcon(String path,
                                      Class<?> cls)

NASA World Wind