File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Lag in IE, not in Firefox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply locked New topic

Lag in IE, not in Firefox

Amanda Albert
Ranch Hand

Joined: Jun 12, 2006
Posts: 41

So I have my applet running, and I had several people access the web page all at once. Some people experienced a lag in Internet Explorer, but never in Firefox. The IE lag was inconsistent; some people experienced it, others did not. The basic gist of the applet is this: the user clicks a button, moves the mouse in a blank area, after a certain number of data points are collected, the applet performed some functions, then displays the results in a JList. The lag occurs after the final data point is collected, and before the results are displayed. The lag was up to 15 seconds.

I've made some tweaks to the code, but since the lag doesn't occur in Firefox, I can't determine the issue. Here is the information I know:

IE version = 7
FF version = 3.5.5
JVM version = 1.6.17

I hope this isn't a too open-ended question. I was hoping someone would have generic thoughts on why the performance would be different between the two browsers.

I appreciate your thoughts.

Sun Certified Programmer for the Java 2 Platform 1.4
Amanda Albert
Ranch Hand

Joined: Jun 12, 2006
Posts: 41

Perhaps this post might be better suited in the Performance forum? I have re-posted there, so perhaps we can close this thread.

Jelle Klap

Joined: Mar 10, 2008
Posts: 1951

Our Performance forum probably is a better fit.
In the future though, please refrain from crossposting - I or another moderator would have happily moved this topic for you
I'll close this one.

Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
I agree. Here's the link:
subject: Lag in IE, not in Firefox
It's not a secret anymore!