kastork
05/04/2017, 2:33 PMform {
fieldset("Toolbox Global Setup") {
field("Downloaded Archives Directory") {
textfield(preferencesModel.archivesLocation) {
setOnAction { println("Foo") }
}
button("...") {
setOnAction {
preferencesModel.archivesLocation.value = chooseDirectory(
"Downloaded Archives Directory",
File("/"))!!.absolutePath
}
}
}