when I call repaint() method it does not execute paint(graphics g) method.
when I call paint(graphics) method directly then it gives exception.
now is their any way to execute paint() without calling repaint() method ?
Is their any algorithm which can replace repaint() method?
