Yakisoba
09-20-2006, 08:30 AM
I have a JTextArea that I would like to have updated as strings are appended to it.
for example, I have this function:
public void updateMessageCenter(String message){
this.outTextArea.append(message + newline);
}
whenever this:
updateMessageCenter("this would be the message");
is called I would like it to display in the text area.
Note: the append works, but it only displays the result AFTER the program has finished executing.
Any suggestions?
Yak
for example, I have this function:
public void updateMessageCenter(String message){
this.outTextArea.append(message + newline);
}
whenever this:
updateMessageCenter("this would be the message");
is called I would like it to display in the text area.
Note: the append works, but it only displays the result AFTER the program has finished executing.
Any suggestions?
Yak