public class TextAreaOutputStream
extends java.io.OutputStream
JTextArea| Modifier and Type | Field and Description |
|---|---|
private javax.swing.JTextArea |
textControl |
| Constructor and Description |
|---|
TextAreaOutputStream(javax.swing.JTextArea control)
Creates a new instance of TextAreaOutputStream which writes
to the specified instance of javax.swing.JTextArea control.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(int b)
Writes the specified byte as a character to the
javax.swing.JTextArea.
|
public TextAreaOutputStream(javax.swing.JTextArea control)
control - A reference to the javax.swing.JTextArea
control to which the output must be redirected
to.