• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

How to avoid image caching in Swing

Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an applet, which uses multiple images. Some of the images are loaded based on user actions. Applet makes http request and server loads images from file system (server hard disc) using ImageIcon and then converts to int array which gets added to the response.

On the client side image is reconstructed using Toolkit.createImage and displayed on the applet.

Problem I'm facing, even after image on the server is changed, applet does not show the updated image, even after applet is closed and reopened. How can I avoid caching of these images? � Thanks
[ June 27, 2007: Message edited by: Deb Sadhukhan ]
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic