C
Christian \Raistlin\ Gulich
Hallo,
I'm having the following problem. I have a large, complex Panel, which
is stored in another panel. The information shown by my applet changes
when user interacts, so I have to actualize my panels. I do that in this way
containerpanel.removeAll();
complexpanel.setNewData();
containerpanel.add (complexpanel);
containerpanel.add (some_other_little_components);
containerpanel.validate();
The first time, I run this in my browser, the third line takes about a
half second. The next times, when I have to actualize the panel, it
takes about 5-6 seconds.
If I test it in the JBuilder-Applet-Testbed the problem doesn't occur.
Also, if I try to create an application instead of an applet.
The problem occurs in Firefox 0.9.3 as well as in IE6, both with the
1.4.2_01 JRE.
Could any body help?
Thanks, Christian
I'm having the following problem. I have a large, complex Panel, which
is stored in another panel. The information shown by my applet changes
when user interacts, so I have to actualize my panels. I do that in this way
containerpanel.removeAll();
complexpanel.setNewData();
containerpanel.add (complexpanel);
containerpanel.add (some_other_little_components);
containerpanel.validate();
The first time, I run this in my browser, the third line takes about a
half second. The next times, when I have to actualize the panel, it
takes about 5-6 seconds.
If I test it in the JBuilder-Applet-Testbed the problem doesn't occur.
Also, if I try to create an application instead of an applet.
The problem occurs in Firefox 0.9.3 as well as in IE6, both with the
1.4.2_01 JRE.
Could any body help?
Thanks, Christian