« Return to Thread: [scala.swing] WindowClosing event not working

[scala.swing] WindowClosing event not working

by qwerky :: Rate this Message:

Reply to Author | View in Thread


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.

 « Return to Thread: [scala.swing] WindowClosing event not working