Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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?

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 25 2008
Added on Feb 26 2008
4 comments
1,625 views