kawa
Class MessageArea
- KeyListener, TextListener
public class MessageArea
extends TextArea
implements KeyListener, TextListener
Simple TextArea that always scrolls to the bottom. Also creates an
out and err PrintWriter so that you can redirect stdout/stderr to
these streams, using the System.setOut/setErr methods.
endMark
public int endMark
outputMark
public int outputMark
MessageArea
public MessageArea(QueueReader in)
simple TextArea that always scrolls to the bottom. Also creates an
out and err PrintWriter so that you can redirect stdout/stderr to
these streams, using the System.setOut/setErr methods.
deleteOldText
public void deleteOldText()
Delete old text, prior to line containing outputMark.
getStderr
public PrintWriter getStderr()
getStdout
public PrintWriter getStdout()
keyPressed
public void keyPressed(KeyEvent e)
keyReleased
public void keyReleased(KeyEvent e)
keyTyped
public void keyTyped(KeyEvent e)
textValueChanged
public void textValueChanged(TextEvent e)
write
public void write(String str)