JWritableTextAreapublic class JWritableTextArea extends JTextArea
Fields Summary |
---|
private Writer | writer |
Constructors Summary |
---|
public JWritableTextArea()
this("", 0, 0);
| public JWritableTextArea(String text)
this(text, 0, 0);
| public JWritableTextArea(int rows, int columns)
this("", rows, columns);
| public JWritableTextArea(String text, int rows, int columns)
super(text, rows, columns);
setFont(new Font("Monospaced", Font.PLAIN, 12));
setEditable(false);
|
Methods Summary |
---|
public java.io.Writer | getWriter()
return writer;
| public void | reset()
this.setText("");
writer = new BufferedWriter(new TextAreaWriter());
|
|