Skip to main content
gamedev.net
🔒 Locked

[java] getImage: avoiding cache

Started by emileej May 6, 2004 at 12:02 PM 2 replies 400+ views
Original Post
emileej
emileej
Untill the mods move the thread here: http://gamedev.net/community/forums/topic.asp?topic_id=223808
Emil Johansen- SMMOG AI designerhttp://smmog.com
Koroljov
Koroljov
getImage loads an image from the hard disk. Do you mean if you cange the image on the hard disk, and you call getImage again, you get the old image? If so, writing your own image reader might help.
Why do my programs never work on other computers?
emileej
emileej
I am using the getImage from java.applet.Applet so it loads the image over the net - therefore java caches the image by deafault. I want to avoid the caching.
Emil Johansen- SMMOG AI designerhttp://smmog.com

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.