When I try to run Doug Gehringer's fine Volume rendering code using appletviewer
the appletviewer halts with "Start: applet not started" at the bottom of the
pane.
The terminal window from which I execute appletviewer shows the following:


rudist-46> appletviewer -debug VolRend.html

Warning: disabling security due to current limitations in debugger.

Initializing jdb...
0xc4:class(sun.applet.AppletViewer)
> run
run sun.applet.AppletViewer -nosecurity VolRend.html
running ...
main[1]
Warning: SecurityManager not installed!

Current thread "main" died. Execution continuing...
> load: VolRend.class can't be instantiated.
java.lang.InstantiationException: VolRend
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:240)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:532)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:468)
        at sun.applet.AppletPanel.run(AppletPanel.java:302)
        at java.lang.Thread.run(Thread.java:485)

sun.applet.AppletViewer exited

VolRend.html is in the same directory as the rest of the classes.


I am using this code to display an earth model of size 64x64x27
and it runs successfully as an application.

All of this is using the latest jdk1.2 release under Sunos 5.7 on Ultra10 with
1Gig memory.
the java -version returns

java version "1.2.1"
Solaris VM (build Solaris_JDK_1.2.1_03, native threads, sunwjit)

Does there have to be an init(); method for the appletviewer to start with?
Cheers,


LeRoy M. Dorman         Scripps Institution of Oceanography, 0215
University of California, San Diego     La Jolla, CA 92093-0215
voice: +1 858 534-2406 fax: +1 858 534-6849 inet:   [EMAIL PROTECTED]
http://www-mpl.ucsd.edu/cg/people/ldorman.html

Physical address:
3226 Ritter Hall
8635 Discovery Way
La Jolla, CA 92037

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