Skip to Main Content

Java SE (Java Platform, Standard Edition)


For appeals, questions and feedback, please email

Maximum number of SwingWorker objects in a Swing app?

843806Feb 26 2008 — edited Feb 26 2008
I'm wondering whether there is a limit on the number of SwingWorker objects you can have simultaneously running in a single Swing application?

While developing a program which will use quite a number of different SwingWorkers (> 50) I noticed that no more than approx. 10 SwingWorker objects get executed at once. More SwingWorkers keep pending somewhere in a queue and are only executed if others are finished or get cancelled/interrupted.

Any idea?
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 25 2008
Added on Feb 26 2008