Hi Goh Thiam Hock,
At 07:34 PM 12/28/98 PST, you wrote:
>Hi,
>
>Did you jar the class files and the images files into one file and
>convert the html file to accommodate the viewing of the applet in
>Netscape?
Following is what I did to run java3d applet with texture to run on the
netscape browser:
1) add archive = nameoofjar.jar to the applet tag on the html file
2) convert your html file using PLUGIN HTML Converter
3) created a jar file with all the class file by
jar -cvf nameofjar.jar
(PS create your <mykey> by typing keytool -genkey )
4) Sign the jar file by typing
jarsigner nameofjar.jar -mykey
type password: xxxxx
5) Open the html file in the browser.
(PS. I have only tested the above on the local machine not on the web server)
I have been successful run the ConicWorld.html file using the above
procedure on the browser first time. But when I come back the next day, it
gives me the same error (NOTiNITED-error loading the image/ same as below)
>
>I have altered the permission access of my files (chmod 755 *.*) and
>tried in the Unix environment but Netscape still gives me noninited
>error.
>
>I thought you have succeeded in web-enabling Java3D applet last time
>using the jarring and signing procedures?
>
Yes, I have been successful, but limited. Try the above procedure!!
>Regards,
>Jason
>
>
>>From [EMAIL PROTECTED] Mon Dec 28 06:30:04 1998
>>Received: from superman.tec.army.mil.tec.army.mil
>(spiderman.tec.army.mil [206.37.31.52])
>> by svl.tec.army.mil (8.8.7/8.8.7/svl-09.97.hub) with SMTP id JAA08724;
>> Mon, 28 Dec 1998 09:29:42 -0500 (EST)
>>Message-Id: <[EMAIL PROTECTED]>
>>X-Sender: [EMAIL PROTECTED]
>>X-Mailer: Windows Eudora Pro Version 3.0 (32)
>>Date: Mon, 28 Dec 1998 09:31:26 -0500
>>To: "Goh Thiam Hock" <[EMAIL PROTECTED]>
>>From: Vineet Gupta <[EMAIL PROTECTED]>
>>Subject: Re: Error displaying Java3D applet in Netscape
>>Cc: "'Java3D Interest'" <[EMAIL PROTECTED]>
>>Mime-Version: 1.0
>>Content-Type: text/plain; charset="us-ascii"
>>
>>Hi Hock,
>>
>> I am encountering the following error on two applets (ConicWorld,
>>TickTockPicking ) with the error displayed in the java console:
>>
>>
>> Error in loading image
>> java.lang.NullPointerException
>> at com.sun.j3d.utils.image.TextureLoader.getTexture(Comipiled Code)
>> at TickTockPicking.createAppearance(TickTockPicking.java:243)
>> at TickTockPicking.createSceneGraph(Compiled Code)
>> at TickTockPicking.init(TockTockPicking.java:369)
>> at java.lang.Class.newInstance0(Native Method)
>> at java.lang.Class.newInstance(Compile Code)
>>
>>(PS There is no error if I ran the above as an application(java) and
>also
>>through the appletviewer command)
>>
>> THANKS
>> Vineet Gupta
>>
>>
>>At 10:45 PM 12/27/98 PST, you wrote:
>>>Hi Vineet Gupta,
>>>
>>>I read from the Java3D mailing list that u have problem displaying the
>>>Java3D applet in Netscape.
>>>
>>>I have similar problem when I attempt to display a Java3D applet
>locally
>>>on my PC machine after I have 'jarred' and signed it.
>>>
>>>Have u solved this problem yet?
>>>
>>>Regards,
>>>Jason
>>>
>>>=====================================================================
>>>
>>>"Life is short. Live it to the MAX!"
>>>"'Anywhere Is' my destiny."
>>>
>>>Jason Goh
>>>[EMAIL PROTECTED]
>>>
>>>=====================================================================
>>>
>>>
>>>______________________________________________________
>>>Get Your Private, Free Email at http://www.hotmail.com
>>>
>>>
>>
>
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/