|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.irisel.swing.WindowUtilities
public class WindowUtilities
A few utilities that simplify using windows in Swing. 1998-99 Marty Hall, http://www.apl.jhu.edu/~hall/java/
Constructor Summary | |
---|---|
WindowUtilities()
|
Method Summary | |
---|---|
static javax.swing.JFrame |
openInJFrame(java.awt.Container content,
int width,
int height)
Uses Color.white as the background color, and the name of the Container's class as the JFrame title. |
static javax.swing.JFrame |
openInJFrame(java.awt.Container content,
int width,
int height,
java.lang.String title)
Uses Color.white as the background color. |
static javax.swing.JFrame |
openInJFrame(java.awt.Container content,
int width,
int height,
java.lang.String title,
java.awt.Color bgColor)
A simplified way to see a JPanel or other Container. |
static void |
setJavaLookAndFeel()
|
static void |
setMotifLookAndFeel()
|
static void |
setNativeLookAndFeel()
Tell system to use native look and feel, as in previous releases. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindowUtilities()
Method Detail |
---|
public static void setNativeLookAndFeel()
public static void setJavaLookAndFeel()
public static void setMotifLookAndFeel()
public static javax.swing.JFrame openInJFrame(java.awt.Container content, int width, int height, java.lang.String title, java.awt.Color bgColor)
public static javax.swing.JFrame openInJFrame(java.awt.Container content, int width, int height, java.lang.String title)
public static javax.swing.JFrame openInJFrame(java.awt.Container content, int width, int height)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |