How to refresh an image in applet?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ziv_d
Posted On:   Wednesday, May 15, 2002 06:45 AM

Hi
i have an applet that let the user upload his picture into my applet.
but when he is doing it once and try to do it again before leaving the site, he is getting the same picture even that he is choosing another picture.
what is the best way to handle this without closing the browser window?
tnx from advanced

Re: How to refresh an image in applet?

Posted By:   yili_cheng  
Posted On:   Monday, June 3, 2002 07:27 AM

You can build a event handler, everytime user do some changes, using repait() method to reload the picture.

Re: How to refresh an image in applet?

Posted By:   Marco_Salghetti  
Posted On:   Tuesday, May 21, 2002 04:34 AM

You cannot refresh the image because java keep the image only the first time you open this Applet..It uses a sort of buffer..Bye
About | Sitemap | Contact