vs
Class AgentLauncher.TextAreaOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by vs.AgentLauncher.TextAreaOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Enclosing class:
AgentLauncher

public class AgentLauncher.TextAreaOutputStream
extends java.io.OutputStream

To pipe output towards JTextArea From http://forum.java.sun.com/thread.jspa?threadID=771727&messageID=4397099

Author:
swartjes

Constructor Summary
AgentLauncher.TextAreaOutputStream(javax.swing.JTextArea textArea)
           
 
Method Summary
 void close()
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
flush, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentLauncher.TextAreaOutputStream

public AgentLauncher.TextAreaOutputStream(javax.swing.JTextArea textArea)
Method Detail

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException