public class WindowUtilities
extends java.lang.Object
Constructor and Description |
---|
WindowUtilities() |
Modifier and Type | Method and Description |
---|---|
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.
|
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)