Re: PrintWriter output to GUI




Hi Thomas
Thanks. That really help with the "zen" of it all also.

Thomas Fritsch wrote:
>"C P via JavaKB.com" <forum@xxxxxxxxxx> wrote.
>
>> Hello
>> Is it possible to re-engineer an existing app that now statically creates
>[quoted text clipped - 4 lines]
>> println method and I dont see how you to force it; however I am naive one
>> asking the question. Looking for insight and a code snippet. tia.
>
>It is actually quite simple. The key is the
> System.setOut(PrintStream)
>method, and give it a PrintStream, which writes into a GUI component.
>Try <http://www.google.de/search?q=System.setOut+%2Bswing>
>to find some implementations of this approach.
>
.