Why the paint() method is called two times ?

Printable View