hi all
 
iam having problems in displaying images in applets..........
here are the details
iam trying to create a JList in an applet.now iam using the ListCellRenderer interface to render each cell of the list with an image.
actually iam trying to create a friends list as in yahoo messenger.
now the problem is when i load the applet it gives me the following error
 
java.security.AccessControlException: access denied (java.io.FilePermission online_userW.gif read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at sun.awt.SunToolkit.getImageFromHash(Unknown Source)
at sun.awt.SunToolkit.getImage(Unknown Source)
at javax.swing.ImageIcon.<init>(Unknown Source)
at javax.swing.ImageIcon.<init>(Unknown Source)
at CustomCellRenderer.<init>(ChatApplet1.java:749)
at ChatApplet1.init(ChatApplet1.java:235)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
 
plz advice as to how i can pick these images from the server.iam hosting my applets on tomcat.
 
with rgds
Rajasekhar

*********************************************************
Disclaimer

This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

Reply via email to