Thanks Wysota for replying.
Yes am drawing curves in draw() function. And to distinguish every new curve drawn i need to set different colors for each curve when they are drawn.
Any idea how to do this!!

Thanks again in advance.