T
trpost
I am using JTextArea to write the status of several URL's, there are
about 100 of them. I am writting the output to the JTextArea and
stdout. When I run through the loop (takes about 60 seconds) to get the
status, I see the results are instantly printed to stdout, but have to
wait for the execution to end before I see anything in the JTextArea.
I am writing to stdout using System.out.println("....") and writing to
JTextArea using textArea1.append("....")
Is there anything I can do to flush the results instantly to the
JTextArea like is done with System.out.println or are there any
inherent flush methods for a JTextArea?
Thanks
about 100 of them. I am writting the output to the JTextArea and
stdout. When I run through the loop (takes about 60 seconds) to get the
status, I see the results are instantly printed to stdout, but have to
wait for the execution to end before I see anything in the JTextArea.
I am writing to stdout using System.out.println("....") and writing to
JTextArea using textArea1.append("....")
Is there anything I can do to flush the results instantly to the
JTextArea like is done with System.out.println or are there any
inherent flush methods for a JTextArea?
Thanks