If u want to load it from applet, u'd have to use the URL as your
path. Put all files that describe the model into one directory and
load your model via URL (if there would be some error like 'can't set
baseURL', just ignore it - it's a bug). So, u'd really need to use
full path. To construct it, u can use getCodeBase method of the
Applet class.

vladimir
             -=V=-
>-------<=============>-------<
Join in Java community now!
http://JavaCafe.VirtualAve.net/
>-------<=============>-------<

In your previous letter u wrote:
--------------------------------
JS> Hi all

JS> Has anyone successfully loaded a lightwave file in an applet? Even when i hardcode 
the location of the file in my code (which i dont like actually), it still cannot find 
the object file. .lwo
JS> when i run it as an applet. I would like to only specify the name of my file, not 
the entire path. How should i go about this?
JS> Thx
JS> Yours sincerely,
JS> Janet

JS> ===========================================================================
JS> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
JS> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
JS> [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