[scala.swing] WindowClosing event not working

View: New views
1 Messages — Rating Filter:   Alert me  

[scala.swing] WindowClosing event not working

by qwerky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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.