|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bytefarmers.droids.WindowUtilities
A few utilities that simplify testing of windows in Swing. 1998 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WindowUtilities()
| Method Detail |
public static javax.swing.JFrame openInJFrame(java.awt.Container content,
int width,
int height,
java.lang.String title,
java.awt.Color bgColor)
content - frame contentwidth - frame widthheight - frame heighttitle - frame titlebgColor - frame background colour
public static javax.swing.JFrame openInJFrame(java.awt.Container content,
int width,
int height,
java.lang.String title)
content - frame contentwidth - frame widthheight - frame heighttitle - frame title
public static javax.swing.JFrame openInJFrame(java.awt.Container content,
int width,
int height)
content - frame contentwidth - frame widthheight - frame height
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||