Re: a silly question

1999-08-17 Thread peter pilgrim
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

a silly question

1999-08-10 Thread R MUTHUSWAMY
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.