Canvas clears when resizing window

lolz0r

New Member
I am trying to make a paint program and I have this problem with my canvas, it clears every time I resize or maximize the window containing it. I really have no ideea where is the problem, the paint() and repaint() methods are not overriden in the canvas class, and I don't use any addapter for resizing the window. Any help would be much appreciated.
 
Top