asela38
asela38

Reputation: 4654

What does this "Image Fetcher 0" do?

While debuging a Swing application I saw this thread appear quite offen. There is a another thread called "Image Fetcher 1" also.

Can someone please explain to me what does this thread do. Is it realated to "SwingWorker" Thread?

Upvotes: 0

Views: 1738

Answers (1)

David Grant
David Grant

Reputation: 14243

When you attempt to load a media resource in Swing, the request is passed to an instance of MediaTracker. The MediaTracker implementation will then allocate the loading task to one of a pool of image fetcher threads.

Upvotes: 4

Related Questions