loverdating com - Updating jtextarea

updating jtextarea-48updating jtextarea-83updating jtextarea-84

I am working on a class assignment that is due next week.

I can complete the assignment without any problem using the console as output, which is acceptable.

I created a swing GUI with a text area to display the process of the application. My problem is, each log that join to the textarea go to the first line...

like this: ----------------- third log_______/\ second log_____| first log_______ | ----------------- I want to do the inverse...

However, instead of updating the text area after each iteration of the loop when set Text is called, it appears to only update the text when all the runs of the task are done. You are using swing basic threads called initial threads. In my exmaple below the actual work starts from the EDT thread as it is from a button click Action Listener.