I have this example (see attached) that was derived from the "JAVA in a Nutshell" book from http://www.oreilly.com. The original example did not give any errors, but when I compiled the source code and tried to run the compiled example, it gives an error. I am compiling it with JDK 1.2.1
Would someone please take a look and see what might be happening?
Thanks!
Last edited by birthjay; Jun 30th, 2004 at 12:32 PM.
An exception error of 'java/lang/IllegalAccessError' was not handled.
If you can download the zip file and extract it, just click on the panel.htm file and you should see it unless something else is going on here locally.
According to sun "An IllegalAccessError is thrown if an application attempts to access or modify a field, or to call a method that it does not have access to." When you run the code you should get a line number where the exception is being thrown.