Quantcast
Browsing latest articles
Browse All 2 View Live

Answer by seinecle for How to refresh a counter on the UI without blocking...

A solution is to override the animate method of the Form. This method is called at each new cycle of the EDT (which is every millisecond or so) to verify if there is a need to repaint anything....

View Article


How to refresh a counter on the UI without blocking the rest, in codename one?

I try to get a score count on the UI, to be refreshed several times per second. The refresh should not prevent the other elements of the UI from working (Buttons should remain clickable etc.) I read...

View Article

Browsing latest articles
Browse All 2 View Live