How many Scene objects do you want?

Scene s[] = new Scene[n_obj];

Assuming 'n_obj' is an integer, that will create an empty array of Scene
interfaces.  Are you sure this is what you want to be doing?

----- Original Message -----
From: "Thomas Gilbert Giusepe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 9:59 AM
Subject: [JAVA3D] can't convert com.sun.j3d.loaders.Scene


> Hi there,
> I am trying to make the following declaration, but the compiler give
always
> the same error message:
>
> --
> Scene s = new Scene[n_obj];
> //etc
> --
> Incompatible type for vardeclaration. Can't convert
> com.sun.j3d.loaders.Scene[] to com.sun.j3d.loaders.Scene
> --
> Some hints!???
> Rgds,
> TGG �:0)
>
>
>
> _________________________________________________________________
> Downloaden Sie MSN Explorer kostenlos unter
http://explorer.msn.de/intl.asp
>
>
===========================================================================
> 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".

Reply via email to