HELP!! Displaying JPEG while loading in applet

Hi, this is my first post on this forumn so go easy on me, hehe.

I've been wrestling for the last few days trying to figure out how to get my jpeg image to display while it is loading in my java applet. I've tried everything I could think of and right now i'm extremely frustrated with the whole thing.

I can determine when the image is loading with mediatracker, but if i try to display it while it is loading it cache's it and doesn't load any further even if i repaint multiple times. I've ever tried taking apart what i had of the image with pixelgrabber and shoving it into a blank image and displaying that so it wouldn't cache the original but that didn't work.

I've also tried about 50 other variations of this and i just cant get it to work.

I was about to jump off my chair with the noose tied around my neck when i figured i'd give this forumn a try. Please help, you'd be saving a life!! :)

Thanks for your time,

-Tritian

[995 byte] By [Tritian] at [2007-9-26 1:20:59]
# 1
noone knows? is this the right place to ask? I didn't see an Applet specific forum
Tritian at 2007-6-29 0:56:03 > top of Java-index,Archived Forums,Java Programming...
# 2
bump?
Tritian at 2007-6-29 0:56:03 > top of Java-index,Archived Forums,Java Programming...
# 3
bump?
Tritian at 2007-6-29 0:56:03 > top of Java-index,Archived Forums,Java Programming...
# 4

I believe that nobody says in java specifications that images must be provided to consumers in many pieces. It is just said that they will... depends on the imageloader wheter it's going to send the pixels while loading or as a whole packed after loading. Try gifs, since they transmit the data while loading (at least I think so)

mikaelkuisma at 2007-6-29 0:56:03 > top of Java-index,Archived Forums,Java Programming...
# 5
Thanks for responding! I have another applet here which displays while it's loading even with jpeg images. Plus the design requires the use of jpeg images. :(
Tritian at 2007-6-29 0:56:03 > top of Java-index,Archived Forums,Java Programming...
# 6
I need to use jpeg's for this, and i know jpeg's can display as they are downloading because i have applets that do this. I just dont know how to do it.Thanks for your response though, anyone else have any ideas?
Tritian at 2007-6-29 0:56:03 > top of Java-index,Archived Forums,Java Programming...