de.bsvrz.sys.funclib.application
Class SimpleApplicationGUI.StreamReaderThread

java.lang.Object
  extended by de.bsvrz.sys.funclib.application.SimpleApplicationGUI.StreamReaderThread
All Implemented Interfaces:
Runnable
Enclosing class:
SimpleApplicationGUI

private static final class SimpleApplicationGUI.StreamReaderThread
extends Object
implements Runnable

Diese Klasse stellt einen Stream in einem dafür vorgesehenem Fenster dar.


Field Summary
private  InputStreamReader _inputReader
           
private  JTextArea _textPane
           
private static int MAX_TEXT_LENGTH
           
 
Constructor Summary
SimpleApplicationGUI.StreamReaderThread(JTextArea textPane, InputStream inputStream)
           
 
Method Summary
private  void append(String string)
           
private  void invokeAndWait(Runnable runnable)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_textPane

private final JTextArea _textPane

_inputReader

private final InputStreamReader _inputReader

MAX_TEXT_LENGTH

private static final int MAX_TEXT_LENGTH
See Also:
Constant Field Values
Constructor Detail

SimpleApplicationGUI.StreamReaderThread

public SimpleApplicationGUI.StreamReaderThread(JTextArea textPane,
                                               InputStream inputStream)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

append

private void append(String string)

invokeAndWait

private void invokeAndWait(Runnable runnable)