Problems with Illegal Access Error
The documentation suggests that this error occurs because a class with which
an applet was compiled does not match the one being executed. This error can
be reported when trying to run an applet in the Applet Viewer if the applet
contains an event handler derived from awt.listener.
The message is also reported in Netscape Communicator, until the awt.properties
file in its Program\Java directory is replaced with the one from JBuilder. However,
for some reason, this does not correct the problem for the Applet Viewer.
JBCL Image Resource File Extraction
The JBuilder 2 documentation indicates you must extract the JBCL image resource
files into your source path prior to using the Deployment Wizard. But how is
this done? From the DOS prompt ($BJB stands for your JBuilder directory, replace
it with the actual path when entering the commands; $BJBD stands for the JBuilder
drive):
$BJB\bin\setvars $BJB
$BJBD:
cd $BJB\myprojects
jar -xf $BJB\redist\jbcl2.0-rt.jar borland\jbcl\control\image borland\jbcl\view\image
If the command complains, create the specified directories below the $BJB\myprojects
directory. It should work then.
|