nextBtn.setAction(map.get("displayNext"));
Binding b = Bindings.createAutoBinding(READ,
predicates, ELProperty.create("${selectedItem.predicate}"),
highlighters, ELProperty.create("${selectedItem.highlighter.highlightPredicate}"));
b.addBindingListener(new BindingAdapter() {
public void targetChanged(Binding binding, PropertyStateEvent event) {
binding.refresh();
}
});
b.bind();