P
paulobrad
I have an application where entering certain numbers changes the data
held, I had observers looking at these observables and when they are
notified they make changes to what is displayed on screen, one of these
is some swing graphics. I do a repaint() in the observer but when I run
the app nothing happens until i move the window of the screen and back
on again. Is there a way of getting it to actually re draw the window
so I can see the changes instantly?
Many thanks in advance.
held, I had observers looking at these observables and when they are
notified they make changes to what is displayed on screen, one of these
is some swing graphics. I do a repaint() in the observer but when I run
the app nothing happens until i move the window of the screen and back
on again. Is there a way of getting it to actually re draw the window
so I can see the changes instantly?
Many thanks in advance.