Hello,

I'm i student developing a game in Java3d and i am currently working on
how to use a gif image as an intropicture for the game.

I've tried to solve it with a CardLayout panel that contains one panel with
an image canvas with the gif and another panel that contains the canvas3d. I
have a Keylistener that calls:
manager.show(CardSwitchPanel, "game"); //manager is the CardLayout

When a start the file evertyhing works exept that i can't switch between
the game an the intro-picture or vice versa.

Exception occurred during event dispatching:
java.lang.NullPointerException

Is this the way to do it? or is there another solution?

Thanks,
Henrik.

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to