Refreshing PNG picture in web page after redrawing it.

2013-11-18 Thread MartinoSuperman
Hi

For my website, I am using a ResourceReference, in which a PNG file is
loaded to show it on the web page.

The PNG picture shown well, but when I change that PNG picture by redrawing
it in Java with the help of Graphics2D, you still see the former PNG picture
on the web page, whereas the newest PNG picture is drawn behind the scenes.
That redrawing works fine.

What I want, is the following:

Each time, when the PNG picture is redrawn that new PNG picture must be
shown on the web page, immediately after that, when you refreshes the page.
Now, you only get that new PNG picture, when you close your browser and
reopens it and goed to the webpage again.

Does someone know how to 'refresh' that newly redrawn PNG picture in the
webpage? 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Refreshing-PNG-picture-in-web-page-after-redrawing-it-tp4662487.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Refreshing PNG picture in web page after redrawing it.

2013-11-18 Thread Ernesto Reinaldo Barreiro
NonCachingImage?


On Mon, Nov 18, 2013 at 10:20 AM, MartinoSuperman
martinosuper...@live.nlwrote:

 Hi

 For my website, I am using a ResourceReference, in which a PNG file is
 loaded to show it on the web page.

 The PNG picture shown well, but when I change that PNG picture by redrawing
 it in Java with the help of Graphics2D, you still see the former PNG
 picture
 on the web page, whereas the newest PNG picture is drawn behind the scenes.
 That redrawing works fine.

 What I want, is the following:

 Each time, when the PNG picture is redrawn that new PNG picture must be
 shown on the web page, immediately after that, when you refreshes the page.
 Now, you only get that new PNG picture, when you close your browser and
 reopens it and goed to the webpage again.

 Does someone know how to 'refresh' that newly redrawn PNG picture in the
 webpage?



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Refreshing-PNG-picture-in-web-page-after-redrawing-it-tp4662487.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Regards - Ernesto Reinaldo Barreiro