In case of images how does thread spawning work? Can I stop the AWT from creating a thread for the image while loading?

Kevin Riff

You seem to think that a new thread is created for each image you download. That's simply not the case. Most AWT implementations use a small pool of threads (usually 4) for downloading images. The programmer has no control over these threads or how they're created.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact