Any one know how to bind one swing JComponent to two BeansBinding classes(Specially with Netbeans IDE)? Also how to bind a variable in JFrame to a beanbinding class’s property?
Any one know how to bind one swing JComponent to two BeansBinding classes(Specially with
Share
A) Hmm … still not sure what exactly you want to achieve: build a binding chain, maybe? Something like
bean.”name” <–> textField.”text” –> otherBean.logger
B) Beansbinding is all about binding properties not fields (aka: variables). So whatever you want to bind needs a getter and (maybe a setter, depends on your requirements) and must fire notification on change. Then do the binding just as always ..