Hi Julian

I tried putting it in the init() still the exception... i tried it in the Text2D 
example in the demo/Text2D folder.. i attach the file...
plz run it and see whether u can solve the problem..
thx...
bye

Yours sincerely
Janet


-----Original Message-----
From:   Julian Scheid [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, February 16, 2000 11:54 PM
To:     [EMAIL PROTECTED]
Subject:        Re: [JAVA3D] j3dsharedctx

hi janet,

i had similar problems when calling setProperty() too late. perhaps it helps
if you do not call it in the constructor, but in the applet's init() or
start() method.

i have never tried, but in theory the first thing executed in an Applet
should be the classes' static {} initializers. perhaps it works best if you
do a

        static {
                System.setProperty("j3d.sharedctx","false");
        }

good luck,

-- julian


-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Janet Song
Sent: Wednesday, February 16, 2000 3:26 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] j3dsharedctx


Hi...

i'm using java3d1.2beta1 and java1.2.2
when i put      System.setProperty("j3d.sharedctx","false");
in the constructor of my program, the Text2D get displayed correctly in an
application.
However when i run it as an applet and exception occurs. Any ideas how i can
solve this?

Thanks

Yours sincerely,
Janet

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

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