public class ScrollingTextAreaWriter
extends java.io.Writer
A class to write log and status messages to a PrintStream
such as System.err
.
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JTextArea |
loggerTextArea |
Constructor and Description |
---|
ScrollingTextAreaWriter(javax.swing.JFrame content,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
write(char[] c,
int off,
int len) |
public ScrollingTextAreaWriter(javax.swing.JFrame content, int width, int height)
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Writer
public void flush()
flush
in interface java.io.Flushable
flush
in class java.io.Writer
public void write(char[] c, int off, int len)
write
in class java.io.Writer