I am worried because I have realized that in my program, the AWT event dispacthing
thread is notifying the changes made by the user to a JList, to an object in the model: --an object in the model was implementing ListDataListener-- The problem is that the fields modified by the AWT thread are going to be read by another thread previously started. And they are not synchronized. In theory, failures in visibility of changes are very rare. Thus I guess that you do not synchronize both threads, on the same lock, just to make sure the changes made by the AWT thread are visible to the main thread, for instance. Or do you synchronize only enough while writing and reading the fields?