There is an example called Splash.java in Swing by Addison Wesley that
looks like it would do the job. It may be a problem to figure out the time
that
you want your openning screen to displayed. And I could not get the example
to run. Some error due to an illegal argument exception, adding container
"s"
{the screen} parent to itself {at
java.awt.Container.addImpl(Container.java.309)}
> ----------
> From: the Cubist[SMTP:[EMAIL PROTECTED]]
> Reply To: Discussion list for Java 3D API
> Sent: Saturday, April 29, 2000 3:53 AM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D]
>
> 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".
>
===========================================================================
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".