[concurrency-interest] Reason behind making execute method of SwingWorker as final ?

Mallikarjunaiah, Praveena mallikap at deshaw.com
Mon Mar 2 00:52:10 EST 2009


Hi,

I was wondering why execute() method of SwingWorker is made final. In
some cases,  I want certain type of SwingWorker's to use a specific
thread.
Currently, this can be done by explicitly putting the worker in a custom
executor service.  I would like put this logic in execute() method so
that
Generators of SwingWorker need not worry how to execute them.

Am I missing something here ?

Thanks
Praveena



More information about the Concurrency-interest mailing list