I
Ike
Is anyone familiar with a way to redirect System.out.println()? I'd like to
redirect it to a JTextArea if possible. Thanks, Ike
redirect it to a JTextArea if possible. Thanks, Ike
Is anyone familiar with a way to redirect System.out.println()? I'd like to
redirect it to a JTextArea if possible. Thanks, Ike
I think it is called System.setOut IIRC. But it wont let you direct to
a JTextArea. It does not implement any sort of stream interface.
Why exactly do want to do this? Surly it would make more sense to sendIke said:Is anyone familiar with a way to redirect System.out.println()? I'd like to
redirect it to a JTextArea if possible. Thanks, Ike
Ian Mills said:Why exactly do want to do this? Surly it would make more sense to send
your output directly to the JTextArea rather than System.out
Roedy Green said:I think it is called System.setOut IIRC. But it wont let you direct to
a JTextArea. It does not implement any sort of stream interface.
Just looking to capture what is output to the plugin console without having
to try to talk people through how to get it out of there! -Ike
I guess this wheel has already been invented several times.Daniel Dyer said:But there is, of course, nothing to stop you from writing an OutputStream
implementation that appends to a JTextArea.
Ike said:Is anyone familiar with a way to redirect System.out.println()? I'd like to
redirect it to a JTextArea if possible. Thanks, Ike
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.