Hello.

     In my Cat and Mouse testbed, I "solved" my
double-buffering problem by reconfiguring it as both
an applet and an application; it looks correct as an
applet but not as an application.

     Now I have another problem.

     About a third of the time I start, I get the
following message:

java.lang.NullPointerException
      at
sun.awt.image.BufferedImageGraphics2D.drawImage(BufferedImageGraphics2D.java:539)
      at BackingStore.blitTo(BackingStore.java:115)
      at
DoubleBufferedContainer.blitBackgroundToWorkplace(DoubleBufferedContainer.java:273)
      at Sprite.advance(Sprite.java:93)
      at Sprite.animate(Sprite.java:109)
      at Playfield.run(Playfield.java:91)
      at java.lang.Thread.run(Thread.java:484)

     I am running this on Windows 98 in a Dell 486
Pentium I.  I have also encountered similar messages
on faster Win2K platforms, but not that frequently.  I
don't believe I've had any such errors on a WinNT.

     I also have a slight problem with AudioClips not
playing (and it's not because they're null), but I
guess that's for a Java Sound discussion group.

     Somebody help!

                              Cromwell


__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

CatAndMouse.jar

Reply via email to