I have a component where I need to update two rectangular sections of the GUI. Right now I have two repaints in the timer callback that call repaint where I pass those rectangles as arguments.
Is this the correct way to do this?
I have a component where I need to update two rectangular sections of the GUI. Right now I have two repaints in the timer callback that call repaint where I pass those rectangles as arguments.
Is this the correct way to do this?