🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.java
2 messages
2 total messages Started by Thomas de Massy Fri, 12 Sep 1997 07:37
REQ : How can I get the downloaded % of an image in java
#981
Author: Thomas de Massy
Date: Fri, 12 Sep 1997 07:37
13 lines
1129 bytes
anyone can help me to get the downloaded % of
an image in JAVA. maybe by using imageObserver
of imageTracker.

Thanks.

(Please send your answer by email)
-- 

----------------------------- KRUST--------------------------------
Thomas de Massy (Krusty)
tomasd@axess.com
http://www.geocities.com/SoHo/Studios/4407/
Re: REQ : How can I get the downloaded % of an image in java
#982
Author: Kleeberg
Date: Fri, 12 Sep 1997 18:56
33 lines
1835 bytes
Thomas de Massy wrote:
> 
> anyone can help me to get the downloaded % of
> an image in JAVA. maybe by using imageObserver
> of imageTracker.
> 
> Thanks.
> 
> (Please send your answer by email)
> --
> 
> ----------------------------- KRUST--------------------------------
> Thomas de Massy (Krusty)
> tomasd@axess.com
> http://www.geocities.com/SoHo/Studios/4407/
Hi Thomas,
you will have to implement the ImageObserver Interface.
Use Code like this:
public boolean imageUpdate(Image img,int status,int x,int y,int
width,int height)
{
if ((stattus&ALLBITS)==0){
	System.out.println("Width:"+width+" Height:"+height");
	return true;
	}
else {
	System.out.println("Finished");
        return false;
     }
}

Bye
   Michael
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads