View Single Post
  #1 (permalink)  
Old 07-16-2007, 08:10 PM
paul paul is offline
Member
 
Join Date: Jul 2007
Posts: 26
paul is on a distinguished road
JTextArea that I would like to have updated as strings are appended
I have a JTextArea that I would like to have updated as strings are appended to it.

Code:
public void updateMessageCenter(String message){ this.outTextArea.append(message + newline); }
whenever this:

Code:
updateMessageCenter("this would be the message");
Is called I would like it to display in the text area.

The append works, but it only displays the result AFTER the program has finished executing.
Thanks
Reply With Quote
Sponsored Links