wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes About on line help . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "About on line help ." Watch "About on line help ." New topic
Author

About on line help .

Zhou Can
Ranch Hand

Joined: Sep 12, 2002
Posts: 34
My online help is implements by using the JEditorPane which loads user manual text file .
In local database model , when i use online help , all is OK . But in remote database model , when i use online help , this error message appear:
Exception occurred during event dispatching:
java.security.AccessControlException: access denied (java.util.PropertyPermissio
n user.dir read)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:272)
at java.security.AccessController.checkPermission(AccessController.java:
399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:12
78)
at java.lang.System.getProperty(System.java:560)
at java.io.Win32FileSystem.getUserPath(Win32FileSystem.java:259)
at java.io.Win32FileSystem.resolve(Win32FileSystem.java:275)
at java.io.File.getAbsolutePath(File.java:392)
at suncertify.client.HelpContentsDialog.<init>(HelpContentsDialog.java:2
7)
at suncertify.client.ClientCTRL.showHelpContents(ClientCTRL.java:299)
at suncertify.client.ClientCTRL.actionPerformed(ClientCTRL.java:337)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:14
50)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1504)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
)
at javax.swing.AbstractButton.doClick(AbstractButton.java:279)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseRelease
d(BasicMenuItemUI.java:886)
at java.awt.Component.processMouseEvent(Component.java:3715)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451
)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:926)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Could u tell me what happened ?
BJ Grau
Ranch Hand

Joined: Jul 10, 2001
Posts: 234
Originally posted by Zhou Can:
My online help is implements by using the JEditorPane which loads user manual text file .
In local database model , when i use online help , all is OK . But in remote database model , when i use online help , this error message appear:

I'm assuming you are using a SecurityManager fi you are getting this error. Check your policy file.
 
Don't get me started about those stupid light bulbs.
 
subject: About on line help .
 
Similar Threads
how to use parseInt()
FTP Problem
error handling
Urgent:Problem using the drag and drop feature in solaris
Some Help will do good !!!