All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----java.awt.Panel | +----gjt.Box
Both the Component around which the box is drawn, and the String drawn at the top of the box are specified at construction time.
Etching of the box is controlled by etchedIn() and etchedOut(). Default etching is etched in.
Note: AWT 1.0.2 contains a bug which causes the Label.CENTER argument of the Label created for the title to be ignored, under Win95. Therefore, under Win95, the title will be off-center.
public Box(Component surrounded, String title)
public Box(Component surrounded, Label label)
public void etchedIn()
public void etchedOut()
public void paint(Graphics g)
public void resize(int w, int h)
public void reshape(int x, int y, int w, int h)
protected String paramString()
All Packages Class Hierarchy This Package Previous Next Index