ULRConnection(), example reading image
Posted on 1998-07-01
I have got the connection to an image/jpeg type now I have to draw it. so far
url = new URL(getCodeBase(), "current.jpg");
urlc = url.openConnection();
System.out.println("Content type is " + urlc.getContentType();
Now I have to read it and build an Image.
Anyone have an example or something to get me started?
I don't want to use getImage(URL);
Thanks in advance.