Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.arranger.jarl.test
Class PanelTest  view PanelTest download PanelTest.java

java.lang.Object
  extended bycom.arranger.jarl.test.PanelTest

public class PanelTest
extends java.lang.Object

PanelTest created on Mar 3, 2003


Nested Class Summary
protected static class PanelTest.ExitListener
           
static class PanelTest.ShapeExample
           
 
Constructor Summary
PanelTest()
           
 
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
 

Constructor Detail

PanelTest

public PanelTest()
Method Detail

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.