Beansbinding assertion error [message #665472] |
Thu, 14 April 2011 17:30 |
Byron Palmer Messages: 14 Registered: July 2009 |
Junior Member |
|
|
This error happens when I have a Bean setup with PropertyChangeSupport implemented. When I bind this bean to a swing component it throws and exception. The problem seems to be in the beansbinding-1.2.1.jar and occurs because the changing of a field in the bean using the setter causes a property change event to be fired to inform any listeners that the property has been changed as well as a property change event that the bean is now "dirty." It appears that this second property change causes the binding to throw an assertion error.
This methodology worked in SWT but seems to cause major problems in Swing. Should I implement some other way to track changes?
|
|
|
Powered by
FUDForum. Page generated in 0.03181 seconds