FileDocCategorySizeDatePackage
TextLabel.javaAPI DocExample418Sun Jun 29 22:39:28 BST 1997magicbeans

TextLabel

public class TextLabel extends Label

Fields Summary
Constructors Summary
Methods Summary
public voidsetFont(java.awt.Font f)

		super.setFont( f );
		updateSize();
	
public voidsetText(java.lang.String s)

		super.setText( s );
		updateSize();
	
public voidupdate(java.awt.Graphics g)

 
private voidupdateSize()

		Container parent = getParent();
		if ( parent != null ) {
			invalidate();
			parent.validate();
		}