``` button("Button 1") { action { ... ...
# tornadofx
a
Copy code
button("Button 1") {
    action {
    ...
    }
}
will return a Button instance where as
Copy code
button("Button 2 ").action {

}
will return the type from
action
(or
setOnAction
) i.e. void.