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
Departament
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
TECTED]>
Date: Monday, November 09, 1998 9:07 PM
Subject: Re: Some weird security problems in netscape - getting worse
>Can anyone explain how can getImage return a null pointer in netscape
>while it worxs in appletviewer (and msie, although i wouldn't like to
>s=admit ) ?
>
&
Can anyone explain how can getImage return a null pointer in netscape
while it worxs in appletviewer (and msie, although i wouldn't like to
s=admit ) ?
java.lang.NullPointerException: trying to call hasError()Z
* at sun.awt.motif.X11Graphics.drawImage(X11Graphics.java:275)
at dip.applets.DIPApp
Hi,
I think I figured out a hack to avoid signing (although I should start
using some form of certificates really soon).
Simply put: Encode raw data in a standard lossless image format, fetch
over the net using getImage (and a media tracker perhaps) and then decode
it by grabbing the pixels of th
I ran
into a similar problem when I had two applets in the same HTML document and
wanted to send mouse events from one to the other via network sockets (I was
doing it to prove to myself that I could, not for any other really practical
purposes). I could get it to work okay using appletvie