Then I built an applet which displays an image and I didn't see any
NullPointerException. You can see the code and the web page:
http://lcomp98/carlos/applets/Imagen.html
The same directory contains Imagen.java, Imagen.class and maquina.gif
Any question?
Carlos Alberto Roman Zamitiz
Departamento de Ingenieria en Computacion, Facultad de Ingenieria UNAM
[EMAIL PROTECTED]
On Mon, 9 Nov 1998, Dimitris Vyzovitis wrote:
> Alex Romadinoff wrote:
>
> > Do you try to read images from jar ?
> > In this case try to place your images out of jar-file.
>
> This is the first thing I tried to do.
> This null pointer exception is simply inexplicable (and it happes only in
> Netscape).
>
> And now something completely different (in the same topic as usually ;-} )
> Has anybody tried to work with serialized applet.
> It seems that the lovely browsers totally refuse to cooperate.
> To explain.
> I serialize the very sam applet (it is unbelievable, I can't get it worl ouside
> the appletviiewer!!!).
> The appletviewer is able to deserializ the applet (using the object tag in the
> html) and have it run normally.
> However both browsers(netscape in linux.win and the M$ stuff) simply display
> NOTHING when I deserialize tha applet!!!
> Even worse, I try a applet context dump in netscape and I get : # No active
> applets or applet contexts.
> Has anybody attempted something similar (and got it work)? I woulud like to
> hear from him (I sound like spamming ;-} )
>
> Dimitris
>
>