X-Received: by 10.107.0.7 with SMTP id 7mr25180940ioa.100.1483975022632; Mon, 09 Jan 2017 07:17:02 -0800 (PST) X-Received: by 10.157.1.117 with SMTP id 108mr851067otu.16.1483975022551; Mon, 09 Jan 2017 07:17:02 -0800 (PST) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!r185no928972ita.0!news-out.google.com!78ni444itm.0!nntp.google.com!r185no932326ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.gui Date: Mon, 9 Jan 2017 07:17:02 -0800 (PST) In-Reply-To: <163b0e03-2224-427a-910a-e9ef41df36cf@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=47.30.213.221; posting-account=2uSbDQoAAACyUbc19SW_EKUfonn1OvrU NNTP-Posting-Host: 47.30.213.221 References: <163b0e03-2224-427a-910a-e9ef41df36cf@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <30fae792-c2a4-4d4b-85f0-9f0ff05503d3@googlegroups.com> Subject: Re: how to direct console output to a textarea From: Abhay Prakash Injection-Date: Mon, 09 Jan 2017 15:17:02 +0000 Content-Type: text/plain; charset=UTF-8 Xref: csiph.com comp.lang.java.gui:5519 Thanks Nigel . That guide of reading the stdout/stderr on different thread was a nice one sir as i didnt knew this before. thumbs up for that. i modified my code as you said, and it works now. thanks for the guidance :)