Using Visual Cafe DB Developers Edition 3.0c
The applet loads and runs correctly under Netscape V4. When run under
two different versions of IE V5 I receive the following error message
during the load of .class files. After which the applet for the most
part works, except the JTable fails to display which of course is the
main part of this applet. There is also a JPanel with about a dozen
JLabels that displays correctly.
=-=-=
Microsoft (R) VM for Java, 5.0 Release 5.0.0.3167
com.ms.security.SecurityExceptionEx[NQSResultsTable.<init>]:
java.io.IOException: bad path: C:\WINNT\Java\lib\swing.properties
at com/ms/security/permissions/FileIOPermission.check
When I create a file C:\WINNT\Java\lib\swing.properties the error
changes to:
Microsoft (R) VM for Java, 5.0 Release 5.0.0.3167
com.ms.security.SecurityExceptionEx[NQSResultsTable.<init>]: cannot
access file C:\WINNT\Java\lib\swing.properties
at com/ms/security/permissions/FileIOPermission.check
And under a newer version of IE this error is delivered:
Microsoft (R) VM for Java, 5.0 Release 5.0.0.3234
com.ms.security.SecurityExceptionEx[com/sun/java/swing/SystemEventQueueUtilities.initSystemEventQueue]: Event queue access denied.
at com/ms/security/permissions/UIPermission.check
(UIPermission.java)
Thanks
Take a look at this document in our online Knowledge Base:
Title: 'Security Exceptions on Local Applet'
Document ID: 19971118143059
Web URL:
http://service1.symantec.com/SUPPORT/devtools.nsf/docid/19971118143059&src=w
Regards,
Tim Dutton
Internet Tools Technical Support
Symantec Corporation
Thanks,
Peter Yannias
MCI Worldcom
Since you changed the Swing version of your project, you may need to
do a rebuild. To clean out a project:
- Go to the project directory and delete the ve2, vep, vws, and cdb
files (you basically want to get rid of all but the source files).
- Start Visual Cafe and create a new project of type Empty Project
- Save the new project into the existing project folder (where your
source files are).
- Use Insert->Files Into Project to add your source files to the new
empty project
- Go to Project->Options and make sure all of your settings are
specified correctly
- Choose Save All and Project->Rebuild All