I have written a;

Taxi() which draws polygons in the shape of a car, using paint method (Graphics g).
TaxiCanvas() which creates the amount of taxis to draw using a for loop.

The problem, I...