• 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 ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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 ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic