Added some paint code in KaroPanel