By john on Feb 26, 2009
JavaFX binds are cool. They significantly simplify the structure of an application by eliminating completely the need to use observer patterns to allow objects to receive notifications of application state changes.
I spent several days at Mobile World Congress demoing JavaFX to MIDP developers, and overall I'd say bind was the feature of the language most appreciated.
With all its advantages, it seems to me that code maintainability (not to mention performance) potentially suffers by the use of this construct. With multiple binds scattered throughout an application, it's likely that at some point an update to a bound variable will cause unexpected behavior, a situation not easy to trace.
I would love it if NetBeans had a "Find Binds" feature, similar to "Find Usages" which shows all variables affected by bindings to a selected variable or code block.
Without such a feature, debugging obscure issues related to bindings can be tedious.
I just submitted this as a NetBeans feature request.