Again use a `ByteArrayOutputStream' again, do not use
`byte [] image_bytes = new byte[is.available]' !
THIS IS PURE PROTOTYPE, check the API
BufferedInputStream bis = new BufferedInputStream( -InputStream );
ByteArrayOutputStream baos = new ByteArrayOutputStream();
byte [] raw_data = null;
try
hi,
i want to load a image into my applet application i used getimage
to get a image in the init() and used drawimage to draw it in the paint
and i gave the filename in the html file. But it is giving some
nullpointer exception in the java console of the netscape. can anybody
help me.