I suspect you want "double" not "Double".  "Double" is an object, whereas
"double" is a builtin type.

Example:

public class test {
   public static void main(String[] args) {
      double d;
      d=16.5d;
      Double d2 = new Double(d);
      System.out.print("d is "+d+" and d2 is "+d2+"\n");
   }
}

Ken Causey
ineffable

At 02:41 PM 6/2/00 -0700, you wrote:
>Hi:
>
>        I am new to Java 3D and just discovered that there doesn't appear
to be
>a way to assign a value to an existing Double, Integer or Float object!  I
>find this so incredibly unbelievable that I had to see if anyone can
enlighten
>me on why this is so?
>
>        Example:
>
>        Double d;
>
>        d = 16.5; // NOT POSSIBLE, WHY?
>
>Cheers,
>
>Mona
>
>==================================================================
>Mona Wong
>National Center for Microscopy and Imaging Research
>University of California, San Diego
>http://www-ncmir.ucsd.edu/
>
>"The truth shall set you free, but first it will piss you off"
>                                A Landmark instructor
>==================================================================

===========================================================================
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