I have a View
class that is an Observer
of a Model
. The view class has an Update()
method which receives an array whenever that array is updated. I have verified the array is received, after which a new table model is created and applied to the JTable using the setModel()
method.
The problem is, the table view is not visibly refreshed until the controller's file processing loop ends.
My goal is to have the table view be updated in realtime (dynamically), whenever its underlying data model is updated.