The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


repainting the window

Posted by sparjan on June 05, 2001 at 4:42 AM

> I have a problem in repainting an image. I get the filename
> using FileDialog and I am trying to display it using Canvas.
> Everytime I open a new file, the image first displayed is
> repeatedly displayed again.

Go back to the fundas...
check ur paint(),update(),repaint() methods.
else see hoe u r calling these methods in the prg!


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us