Scala has its own Swing library. This will use the standard Swing library under the hood but it has some nice additions and most notably, because it's made for Scala, it can be used in a much more concise way than the standard Swing library:
import swing._
object HelloWorld extends SimpleSwingApplication {
def top = new MainFrame {
title = "Hello, World!"
contents = new Button {
text = "Click Me!"
}
}
}
See how nice and easy it is to set widget properties?
Except for the nicer syntax and the small additions (like the SimpleSwingApplication
class), I think the advantages and disadvantages are pretty much the same as with vanilla Swing.
Here's an Overview of Scala Swing.