By Alvin Alexander. Last updated: June 6, 2016
As a quick note, to use the Scala Swing library (scala.swing.*) with an SBT project, all I had to do today was add this line to my SBT build.sbt file:
libraryDependencies += "org.scala-lang" % "scala-swing" % "2.10+"
Once I did that, I was able to compile the Scala Swing project normally with the sbt compile
command.