local.tomas.util.swing.io
Class ReaderDisplay
java.lang.Object
local.tomas.util.swing.io.ReaderDisplay
- All Implemented Interfaces:
- Runnable
public class ReaderDisplay
- extends Object
- implements Runnable
This runnable copies everything read from a Reader into a Swing TextArea.
- Author:
- tomas.teubner
|
Method Summary |
void |
run()
Copies in a loop. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReaderDisplay
public ReaderDisplay(Reader reader,
JTextArea textArea)
- Constructor.
- Parameters:
reader - the readertextArea - the text area
run
public void run()
- Copies in a loop.
- Specified by:
run in interface Runnable
Copyright © 2005-2007 Tomas Teubner. All Rights Reserved.