RE: 3D Display Error

Dear Bill,

Its "new P3_09(args)", instantiate the object. I suspect something wrong
with the DisplayImplJ3D coz if I removed the mapping of Z Axis and use
DisplayImplJ2D, the program is running well.

P/S: I have removed some comments from the program. That's why the line
number is different. Thank you.

Warmest regards,



> -----Original Message-----
> From: From: Bill Hibbard <hibbard@xxxxxxxxxxxxxxxxx>
> [SMTP:billh@xxxxxxxxxxxxx]
> Sent: Saturday, June 10, 2000 7:53 AM
> To:   #TAN TOH FEI#
> Cc:   visad-list@xxxxxxxxxxxxx
> Subject:      Re: 3D Display Error
> 
> Hi Tan Toh Fei,
> 
> > I try to run the tutorial programs in windows NT 4.0 and I have a
> problem to
> > execute the 3D graph. (2D is alright). what shall be the problem? Thank
> you.
> > 
> > Error Message:
> > 
> > Exception in thread "main" java.lang.NullPointerException
> >         at P3_09.main(P3_09.java:98)
> > 
> > P/S: The OpenGL.DLL file is in proper directory. Do I need DirectX from
> > Microsoft to generate the 3D graph?
> 
> This is a mystery, because line 98 of P3_09.java is a comment:
> 
>     //                           double first2, double last2, lengthY)
> 
> and cannot be the location of a NullPointerException.  Such
> an Exception would probably not be caused by an incorrect
> OpenGL or DirectX installation.  Can you please tell what
> line of code is line 98 in your copy of P3_09.java?
> 
> Cheers,
> Bill
> ----------------------------------------------------------
> Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
> hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
> http://www.ssec.wisc.edu/~billh/vis.html


  • 2000 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: