Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.8.1, 1.9-beta-1
-
Fix Version/s: None
-
Component/s: Swing
-
Labels:None
-
Number of attachments :
Description
A proposal is to add synchronized to the method signatures.
The point here is that when using Bindable in a multi-threaded context, we must make sure to have proper read-write guards, either by making field access volatile or by using synchronization.
Other means like gpars agents could also be an option but may be to heavy of a tool for such a simple purpose.
A multi-threaded context e.g. appears when using Bindable with presentation models that are accessed outside the EDT but the binding updates visual (swing) controls inside the EDT.