We are using TextArea in java applet awt to display the logs in a separate frame within our web application. The application keep generating logs, and then the TextArea keep scrolling and updating.
We found the whole web application becomes slower over time, the response time degradeded from 3 second to more than 1 minute for each navigation. But if I remove the logs in the TextArea, the web application become very fast again.
It proved the Applet's TextArea is the root cause of our performance issue. Does any one encounter this same problem? What is your suggestion to handle this issue? BTW, We are using Sun JVM 1.3.1_14 to compile the java Applet.
The below is the related code in applet.
We found the whole web application becomes slower over time, the response time degradeded from 3 second to more than 1 minute for each navigation. But if I remove the logs in the TextArea, the web application become very fast again.
It proved the Applet's TextArea is the root cause of our performance issue. Does any one encounter this same problem? What is your suggestion to handle this issue? BTW, We are using Sun JVM 1.3.1_14 to compile the java Applet.
The below is the related code in applet.