Results 1 to 2 of 2
  1. #1
    paul is offline Member
    Join Date
    Jul 2007
    Posts
    26
    Rep Power
    0

    Default 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.

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

    Java 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

  2. #2
    trill is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

Similar Threads

  1. Number of updated records
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-21-2008, 04:32 PM
  2. How to accurately test if timezone data is updated?
    By Santhosh in forum Advanced Java
    Replies: 0
    Last Post: 11-14-2007, 06:53 AM
  3. Replies: 0
    Last Post: 11-06-2007, 02:16 PM
  4. Updated Forum Rules
    By levent in forum Suggestions & Feedback
    Replies: 1
    Last Post: 08-12-2007, 01:09 PM
  5. Replies: 7
    Last Post: 08-11-2007, 09:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •