IE Applet Life Cycle

The applet lifecycle has four methods: - init () when created - start () when displayed - stop () when no longer displayed - destroy () to free resources

There is an old exception to this that som browsers (Internet Explorer, maybe some others) sometimes i9nvokes init () more than once. We were having some problems with our applet which seemed to be caused by this. But when it fixed it it didn't help ...

Another study found that in fact Internet Explorer not only called init () twice, but also created two instances and called both init () and start () on both. This seems to happen the first time you run the applet, but maybe not the second. Very strange...

What should we do to prevent this?

REF: https://groups.google.com/group/google-web-toolkit/browse_thread/thread/b4c33ccfbe13c530

http://code.google.com/p/google-web-toolkit/issues/detail?id=5788

+3


source to share


1 answer


After a lot of time doing this, I found a solution to this. just use tag <object>

instead of IE.



it works great. but I don't know how it goes.

+1


source







All Articles