ron
editor.textProperty().addListener { observable, oldValue, newValue -> okButton.isDisable = newValue.trim { it <= ' ' }.isEmpty() }