laurenceosx on 08/24/11
Last Edited at 08/24/11 08:29am
def doAction( aClosure ) { // Example: button1.onAction = doAction( { println "click" } ); return [ handle: { aClosure.call(it) } ] as javafx.event.EventHandler<javafx.event.ActionEvent>;}
Report this snippet Tweet
Comment:
You need to login to post a comment.