You forgot to import the package that includes the Scene object:
import com.sun.j3d.loaders.*;
Vineet Gupta wrote:
> Hi,
>
> I am trying to load the dem file using ncsa's portfolio but I get the
> following error:
> I am using current version of the portfolio, jdk121, and java 3d 1.1.2.
> Does anyone have any idea?/
>
> thanks.
> Vineet Gupta
>
> E:\java3d\july99>javac Terrain.java
> Terrain.java:137: Class Scene not found.
> Scene model2 = loader.load("TODD1.DEM");
> ^
> Terrain.java:137: Exception java.io.FileNotFoundException must be caught,
> or it
> must be declared in the throws clause of this method.
> Scene model2 = loader.load("TODD1.DEM");
> ^
> 2 errors
>
> ===========================================================================
> 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".
--
Steve Pietrowicz - [EMAIL PROTECTED] Project Manager - NCSA Java 3D Group
NCSA Portfolio 1.3 beta 1: http://havefun.ncsa.uiuc.edu/Java3D/portfolio/
New Loaders, turn your Canvas3D into a JPEG, new InputDevices and more!
Freely available for non-commercial use!
You Build It VR: http://havefun.ncsa.uiuc.edu/Java3D/YouBuildItVR/
Build your own multi-user virtual worlds with no programming experience!
The Java3D FAQ: http://tintoy.ncsa.uiuc.edu/~srp/java3d/faq.html
Java News Network: http://tintoy.ncsa.uiuc.edu/~srp/java/javanews.html
===========================================================================
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".