java.lang.Object
com.arranger.jarl.test.PanelTest
- public class PanelTest
- extends java.lang.Object
PanelTest created on Mar 3, 2003
|
Method Summary |
static void |
main(java.lang.String[] args)
|
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 |
setNativeLookAndFeel()
Tell system to use native look and feel, as in previous
releases. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PanelTest
public PanelTest()
main
public static void main(java.lang.String[] args)
setNativeLookAndFeel
public static void setNativeLookAndFeel()
- Tell system to use native look and feel, as in previous
releases. Metal (Java) LAF is the default otherwise.
openInJFrame
public 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.
Pops up a JFrame with specified Container as the content pane.
openInJFrame
public static javax.swing.JFrame openInJFrame(java.awt.Container content,
int width,
int height,
java.lang.String title)
- Uses Color.white as the background color.
openInJFrame
public 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.