Hi i am just starting java and i am uncertain as to how to approach memory managment. I have a program that implements Runnable, MouseMotionListener,and MouseListener. The applet uses runnable to control a simple animation sequence. The mouse listener's are used to control loading html pages and simple animation used in the gui interface. What i am having problems with is when both mouse listeners have been activated, the background animation freezes. This obvous only happens for a second but the freeze is obvious. what i am trying to figure out is how to prevent this. Should i make a seperate class specifically for the animation etc.. and not let the main applet be runnable. I think what is happening, by making the whole applet runnable and starting and stoping that, i am bothering the listeners because their memory consumption is extended off the main applet not in their own independent threads ? Any ideas or opinions would be appreciated.<br><br>thanks <p>moses<br><a href=mailto:tmoses@iname.com>tmoses@iname.com</a><br><a href= my site</a><br>"In the beginning there was HTML, and it was good"<br>
by Nick Heinle, Designing with JavaScript<br>
<br>
<br>
by Nick Heinle, Designing with JavaScript<br>
<br>
<br>