FileDocCategorySizeDatePackage
PeeredTextArea.javaAPI DocExample756Wed Apr 19 11:19:36 BST 2000None

PeeredTextArea

public class PeeredTextArea extends TextArea

Fields Summary
Constructors Summary
public PeeredTextArea()

        super();
        setText("Peered component\n");
        setSize(300, 80);
	setForeground(Color.black);
        setBackground(Color.white);
	setVisible(true);
	setEnabled(true);
    
Methods Summary
public java.awt.DimensiongetPreferredSize()

        return new Dimension(300, 80);
    
public voidsetFontSize(int size)

        setFont(new Font("Dialog", Font.PLAIN, size));