paintComponenet