FileDocCategorySizeDatePackage
JStreamedTextArea.javaAPI DocExample1326Sun Mar 28 19:08:40 BST 1999com.macfaq.swing

JStreamedTextArea

public class JStreamedTextArea extends JTextArea

Fields Summary
OutputStream
theOutput
Constructors Summary
public JStreamedTextArea()


    
    this("", 12, 20);
  
public JStreamedTextArea(String text)

    this(text, 12, 20);
  
public JStreamedTextArea(int rows, int columns)

    this("", rows, columns);
  
public JStreamedTextArea(String text, int rows, int columns)

    super(text, rows, columns);
    this.setEditable(false); 
    this.setFont(new Font("Monospaced", Font.PLAIN, 12));
  
Methods Summary
public java.awt.DimensiongetMinimumSize()

    return new Dimension(72, 200);
  
public java.io.OutputStreamgetOutputStream()

    return theOutput;
  
public java.awt.DimensiongetPreferredSize()

    return new Dimension(60*12, getLineCount()*12);