Hello,
the snipped below read a buffer reader input and prints the output to the system out and appends a JTextArea.
While the debug output on the console updates as the lines get read the JTA effectively "freezes" until after the loops finished. Any idea how to redraw/sync the JTA with the console update so that it shows as "being updated"?
Many thanks,
R.
while (true) {
String line = br.readLine();
if (line == null) {
break;
}
System.out.println(line);
out.appendJTA(line + "\n");
}