Simulation of balls being blown about by the wind. Small balls are affected more than large balls. The actual colors depend on the underlying graphics hardware.

Each ball runs independently in its own Java thread. Screen paint runs independently in its own Java thread. The wind has its own java thread.

source