setRight(layHorizontally(5, Pos.CENTER_RIGHT, b1,b2));
}
}
@Override
void onDialogAction() {
<BUG>File f = Environment.chooseFile(type==DIRECTORY ? "Choose directory" : "Choose file", type, v, getScene().getWindow());
if (f!=null) setValue(f);
}</BUG>
@Override
String itemToString(File item) {

setRight(layHorizontally(5, Pos.CENTER_RIGHT, b1,b2));
}
}
@Override
void onDialogAction() {
Environment.chooseFile(type==DIRECTORY ? "Choose directory" : "Choose file", type, v, getScene().getWindow())
.ifOk(this::setValue);
}
@Override
String itemToString(File item) {
