Jennifer Mc Gann wrote:

> Hi everyone,
> Thanks for the response. I have tried to run it with
> just the applet tag but no joy there either! The
> program can also run as an application and that is why
> there is an 'exit' button on this. Maybe this is
> affecting running it as an applet. I am posting the
> main code file (StarchTest) and maybe someone might
> spot the problem. This is due as part of a college
> final project on friday so I'm really anxious to solve
> this problem.

  This is just a guess, based on what I know from scanning your code, but this
line bothers me:
tablescene = tableFileloader.load(table);

  This ends up being null, and so this is hit:
if(tablescene == null)
    System.exit(1);

  I think it is null because you are trying to load this file
Models/table.wrl

  I do not have that on my computer. <g>  You may want to load it as a URL, not
from the local file system.

  You should also have your program run in two modes, one as an applet, one as
an application. When running as an applet don't call 'exit'.

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