posted 12 years ago
Spin and Foxtrot are both good solutions. Spin is a little more evasive since it requires interfaces to proxy. Foxtrot is good since it is still a synchronous programming model. You don't don't have ot worry about asynchronous problems. I tend to prefer Foxtrot for simple cases and things like Spin and SwingWorker for more complex ones. I also write a decent amount of threading code myself using just the SwingUtilities methods.