Jave Script: 3D Cube
Posted on 1998-06-29
I followed the directions -- I think -- on how to build a cube in my GeoCities WebPage. But when I try to view it on the
net, the Applet begins and then stalls and I get the following message:
Array index out of bounds exception.
I intended to send this entire message: is that wehat reached you?
Christian meant the JAVA-source, of course... being your actual program - we can see how
you embedded the applet by looking at the page source...
I inserted the applet line by line
It's a cool applet and it does work for me! (consumes massive amounts of CPU-power!)
Which browser/platform do you use?
Explain uses "consumes massive amounts of CPU-power"
` My browser is Netscape 4.04
I recommend using applet viewer (from the JDK) rather than a browser - it will give you
detailed error messages, including the line that caused the exception (of course, if you have
an IDE like JBuilder or Symantec Visual Cafe, that's even better (I personally wouldn't rely on
MS-VJ++ to produce code that runs on all browsers))
If you use Netscape, you can open the Java console and type the numbers 0-9 to change the
"debug level", i.e. the amount of information given about what your applet does or does not
(from the JDK) where or what is JDK?
What's an IDE?
Where is the Java console?
What is going on?