com.moneydance.awt
Class SwingUtil

java.lang.Object
  extended by com.moneydance.awt.SwingUtil

public class SwingUtil
extends java.lang.Object

Description: Misc. functions to make swing programming easier.


Field Summary
static java.awt.Color hudBGColor
           
static java.awt.Color hudBorderColor
           
static java.awt.Stroke hudBorderStroke
           
static java.awt.Color hudFGColor
           
 
Constructor Summary
SwingUtil()
           
 
Method Summary
static void addField(int x, int y, java.util.ResourceBundle res, java.awt.Container cont, java.lang.String labelKey, java.awt.Component component)
           
static javax.swing.JRootPane getRootPane(java.awt.Container comp)
          Find the top level JRootPane of the given JComponent (or other Container)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hudBGColor

public static java.awt.Color hudBGColor

hudBorderColor

public static java.awt.Color hudBorderColor

hudFGColor

public static java.awt.Color hudFGColor

hudBorderStroke

public static java.awt.Stroke hudBorderStroke
Constructor Detail

SwingUtil

public SwingUtil()
Method Detail

addField

public static final void addField(int x,
                                  int y,
                                  java.util.ResourceBundle res,
                                  java.awt.Container cont,
                                  java.lang.String labelKey,
                                  java.awt.Component component)

getRootPane

public static javax.swing.JRootPane getRootPane(java.awt.Container comp)
Find the top level JRootPane of the given JComponent (or other Container)