//http://www.youtube.com/watch?v=AbBvRtNBDL0
import scala.swing._
val frame = new MainFrame{
title = "My First GUI"
contents = Button("Click me!")(println("Button clicked!"))
size = new Dimension(200,200)
//contents = new TextArea
}
frame.visible = true