As far as I know there is no easy way that I know of to read STDIN and have thedata written to the JTextArea other than with PipedStreams.