Let\'s say I\'m getting a (potentially big) list of images to download from some URLs. I\'m using Scala, so what I would do is :
import scala.actors.Futures.
Yes, seems fine to me, but you may want to investigate more powerful twitter-util or Akka Future APIs (Scala 2.10 will have a new Future library in this style).
It uses a thread pool.
No, it won't. You need to use the standard mechanism of your GUI toolkit for this (SwingUtilities.invokeLater
for Swing or Display.asyncExec
for SWT). E.g.
fimages.foreach (_.foreach(im => SwingUtilities.invokeLater(new Runnable { display im })))