Hi.
I'm currently developing a telnet application, using Apache commons Telnet.

the Telnet API gives the following function: telnet.getOutputStream();

I would like to redirect the output stream from the console to a a JTextArea.

I googled a bit and found only an option of extending PrintStream, however, because I receive a OutputStream object, I didn't find any of the solution helpful.

can someone please assist ?