If I have code like ....
while ((s = stdInput.readLine()) != null) {
setChanged();
notifyObservers(s);
System.out.println(s);
}
... that is part of an class that implements Observable interface,
why do I only see the output after loop has finished completing?
I can see the output from the println statement happening line by
line during execution.
But writing to my JTextArea only happens once the readLine() is null,
NOT in real time like my print statement.