This page is no longer maintained — Please continue to the home page at www.scala-lang.org

[scala.swing] WindowClosing event not working

No replies
qwerky
Joined: 2009-07-03,
User offline. Last seen 42 years 45 weeks ago.

reactions += {
case WindowClosing(`mainFrame`) =>
println("Exiting")
}

not called on closing.
other events working ok.

what i'm doing wrong ? and where can i find good tutorial/examples on
scala.swing - api documentation is very scarce.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland