Hi
I have a class(very big) which draws an image using paintComponent method but when I am resizing the image disappears. Can anyone suggest me a way to prevent this? I cannot use method drawImage because it is looping through and draws each time a new square to make a crossword. So, if I would use it will draw each time a new Image is there a way to do that or no???
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
0
make a class (a very little class) - just a
frame and panel (for your drawing code).
make sure it demonstrates the same problem
then post that code.
Bobby Marvikuan
Ranch Hand
Joined: Mar 14, 2012
Posts: 54
posted
0
Michael Dunn wrote:make a class (a very little class) - just a
frame and panel (for your drawing code).
make sure it demonstrates the same problem
then post that code.