The easiest way is to first control all access to that static variable. Make it private, and modifiable only via some single method. Secondly, have that method call setText()
on all those text fields, and set them to the new value.
If that variable's value can be changed outside the Event Dispatch Thread, then that method must use SwingUtilities.invokeLater()
to set those text fields; components should only be accessed by the EDT.
If each text field's display is computed by multiple decentralized methods, then your variable-setting method just needs to call those methods (possibly wrapped in invokeLater()
as above).
If the variable-modification code doesn't know ahead of time which text fields will be affected, then you need to allow the objects controlling each text field to add themselves to the modification code as listeners. (This is MVC design, and generally considered to be Good.) Then the modification code calls each listener in its list and lets it know the value has changed.