Why the IE cannot open the Applet build by Swing

Halo, i build a GUI inside an Applet, by using the Java Swing. althoug i have
installed the Java plug in, and use the HTML converter, but when i try to use the internet explorer to open this applet, the exception is thrown, and it said the
"Start: didnt initialize the applet" in the IE window.
and this is the error message shown in the the Java Console:
java.security.AccessControlException: access denied (java.io.FilePermission anny.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 sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Anyone can help me in this problem? thank you very much

the image saved with the class file of the applet, and this applet i will
paste in the server, it is funny when i cut all the codes about the imageicons,
then the IE can load the applet and show it ,
and now i use the xx = new ImageIcon("xxx.gif"); to construct an imageicon in the java code of that applet,but it got the problem
i want to konw whether can use xxx = new ImageIcon(url) will help me to solve this problem, and if it can, how format the url is, for example, the IP of my server is 172.20.54.152, and the image anny.jpg saved in C:/Javaprogram,
can u tell me what is the solution.
Thank you very much

Similar Messages

  • How do I resolve the issue Cannot open the file ".indd". Adobe InDesign may not support the file for

    How do I resolve the issue Cannot open the file ".indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing , or the file may be open in another application?

    Shouldn't the CC version be able to open any file created in an older version on InDesign?
    Yes, it ought to.
    If the older file wasn't yours (if someone emailed it to you,or burned it on a disc, or whatever), then I am almost willing to bet you a beverage in the city of your choice that it's not a complete InDesign file. That is, maybe it was zipped and renamed, or the beginning or end of the file was chopped off during download, or something like that. The only reason I'm not actually making the bet is that there is a remote chance that I'd lose, and maybe you're in Adelaide or Khabarovsk or somewhere where the cost of airfare to me would make that bet a very expensive bet for me to to lose. So no latte for you if I'm wrong!
    The script that Jongware posted will tell you what version of InDesign made the file to begin with. Additionally, if someone did something like rename YourFile.PDF to YourFIle.INDD, it'll report that it's Not An InDesign File. Because while SpectrumPCS is kinda right and that message can be generated when attempting to open a CS5 file in CS3 or whatever, it also spits out the same message when you just try to open an Autocad file, or a Windows system file, or a PDF, or any file that InDesign actually cannot open at all.

  • Won't Install in Win XP "The system cannot open the device or file specifie

    When installing Quichktime or iTunes, the installer displays ""The system cannot open the device or file specified."
    What should I do?

    I was getting this problem too. To resolve I did the following.
    Physically disconnected PC from network.
    Stopped Anti Virus (Evira personal).
    Turned off Windows Firewall.
    Stopped Malware detection (PrevX).
    Installed iTunes + Quicktime.
    Restarted above security programs.
    Reconnected to network.
    Problem sorted.

  • The system cannot open the device or file specified

    I am trying to install jsdk.142 but i get an error message that says "The system cannot open the device or file specified" Any suggestions on how to get past this?

    I figured it out myself. The temp folder that the program was using was encrypted. I removed the encryption and it installed fine.

  • I have internet connection (status upper left) but get the message "Cannot open the page". This also applies for my email

    I have checked all that is to be found on the internet and in the apple itunes to get the connectivity.
    When I check the router, the iPod touch is listed. Also when I check the iPod, in the upper corner left is stated that I have connectivity.
    However when I want to go to an internet site, I get the message "Cannot open the page" this is also shown when I start my email?

    Try:
    - Reset the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    -Power off and then back on yor router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - The troublshooting here:
    iPhone and iPod touch: Troubleshooting Wi-Fi networks and connections
    - As a tet configure you router for no security
    Do other devices successly connect to the internet via your router
    Does your iPod connect successfully to other networks?

  • Why my safari cannot open the page because the address is invalid

    Why Safari cannot open the page because the address is invalid .search for flowers &amp; images .by accident clicking photo bucket.com

    do you have cellular data? you should call your phone carrier and ask them.

  • Why my ipad cannot open the video youtube?

    I use my Ipad3 to watch youtube more than 6 months, but today when I  click play youtue to watch, It keep upload the video forever.
    Please advise.

    We'll need more details about the exact nature of the problem before anyone can be of help. Just saying "cannot install" doesn't give us anywhere near enough information to make a diagnosis and offer suggestions.
    Regards.

  • How to retrict user cannot open the same form more than once (Forms 6i)

    Our users always open the same forms more than once. For example the customer form, the user may access a customer record in the first form, however, he will open a new customer form to edit the same record, the result is he cannot save the record because the record is locked in the first customer form.
    How can I control the user cannot open the same form more than 1 time.
    Best Regards,
    Kane

    The customer form is only an example, I found there will cause a lot of problems is I cannot control the user from calling 1 program more than 1 than within application. Sometimes a user (not good in using computer) will overlap the form for many times.....
    Is there any simple way to do that?...can I have some PL/SQL statement or build-in functions that let me easily found our what forms the user has already opened, then I can control whether I let him open this form or not.
    Urgent...please
    Thanks

  • I am trying to update to ver. 11 of Itunes, but I get the following message: cannot open the key: HKEY_current_user\software\APPLE computer, Inc.\iTunes\preferences

    I am trying to update the software in Itunes to ver. 11 but get the message: Cannot open the key: HKEY_Current_user\SOFTWARE\Apple Computer, Inc.\iTunes\Preferences

    Did you ever figure out the problem? "Contact Software Manufacturer"?? That sounds ominous... I've got the same issue and I'm pretty durn aggravated right about now....
    Thanks!

  • Cannot open the zip attachment in pdf file

    I am using the Adobe Acrobat 8.1.2 professional
    and i attach the zip file in the pdf file
    after that, the user that just use the Adobe Reader 8.1.2 cannot open the Adobe zip attachment.
    Do i do any one in add the attachment or the Reader cannot open the attachment with zip file
    thx for your help..

    I have the same issue. With acrobat 7, it is possible to modify a register. But what is solution for acrobat 8 ?(the register is not available anymore)
    It is not possible to save the attached file to disk neither.
    JB

  • Cannot open the file: mk:@MSITStore

    I just upgraded to RoboHelp 8 for Word (Office 2007, XP Pro) and continue to have this problem after compiling a project (Microsoft HTML) and clicking on view. One suggestion was to change the path closer to the root directory. I changed the output path the C:\ (can't get any closer than that!) and that didn't help. I searched the forum for a definitive fix but haven't found one yet. The file opens fine using explorer but it's obviously a pain-in-the-butt to have to always do that. Thanks.

    I also compile my Help projects using the .chm format.  I have a handful of users at one site that are not able to open the Help files.  When they click on the Help from the application, it looks like it thinks about it, but then nothing happens.  When I had them try to open the Help files directly from their local directory, they received the following: Cannot open the file: mk:@MSITStore:C:\Program Files\....\HelpFile.chm.
    I have tried recompiling the .chm file.  I have tried recompiling the .chm file so it was closer to my root directory.  I have had the client "Unblock" the Properties of the .chm file.  None of these solutions fixed their issue.  (I posted the .chm file on our ftp site for the user to save down and replace their other Help file.)
    Besides the things I've tried, other posts suggest the users go into their registry files to manipulate the Hhctrl.ocx.  What other solutions are out there?  I don't think I can feasibly tell another customer that they should try to update their registry files.  I am able to access the HelpFile.chm from multiple computers from our site and have not had issues.
    Thanks for your help!

  • Cannot open the file [filename].indd, ...

    I have some older InDesign .indd files on a DVD that I'm trying to open in InDesign CS3. When I double-click the file, InDesign starts, but then I get the message "Cannot open the file [filename]. Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file may be opened in another application." I moved the folder with the files to my desktop -- same result. Curious thing is that the icons on these files are not correct -- just a generic windows file icon. Newer files that I created on this machine are fine. My OS is Vista. Any ideas?

    In the past when I've seen that, it's been an indication of a corrupt
    file. You might want to read this:
    http://indesignsecrets.com/markzware-wants-your-flaky-files.php
    Bob

  • When I send a link, the receiver of the link cannot open it by clicking on it.

    I have set my default email properly and a link is able to be sent to an address but the recipient cannot open the link by clicking on it. I am using a new computer now and everything worked perfectly on my old computer.

    Hi.
    That is happening (most likely) because Firefox is not storing your browsing history for long, or at all. Go into Tools > Options > Privacy and make sure the configurations are set as you want them to be. If they are, it's likely you have some security software that's erasing your Firefox's history (and possible other browsers' if you have them installed). The most likely suspects are antiviruses, firewalls and security suites, but clean-up utilities like CCleaner are also capable of cleaning Firefox's browsing history and other personal data. Make sure you don't have them configured to do so.
    I should remind you, however, that some sites (they are rare, though) don't have their links change color when visited. That happens only when their authors deliberately make them not change the colors. You can force websites to use a color scheme of your choice by going into Tools > Options > Content > Colors... and unticking "Allow pages to choose their own colors". You can also configure the color scheme in that screen.
    I hope this helps.

  • When I open a second Profile while another is running the second cannot access the Internet until I close the first. Why?

    I often have occasions to run more than one Profile simultaneously (usually because of different add-ons I've installed on different Profiles). In the past this worked fine. Now, all of a sudden, if I open a second Profile while the first is running the second cannot access the Internet until I close the first. It keeps looking for a website, and failing, until the system "times out". If I close the first Profile, the second is then able to access the Internet.
    Note: this is not a problem with opening a second Window in Firefox. As long as they are from the same Profile they will both work fine. Nor does this stop me from using a second Profile to look at website files I have saved to my computer. The only problem is that the second Profile cannot get on the Internet.

    I just checked, the setting was for "Automatic proxy configuration URL", in the past it was set on "No Proxy". So I'll try changing that (and/or try other proxy options), and see if that solves the problem.
    If it does, then just one (academic) question remains: why did that happen in the first place? I don't care what the answer is, so long as your suggestion solves the problem.
    Thanks.

  • I cannot open the installer at all, why is this happening?

    I cannot open the adobe installer at all, after trying many many times, why is this happening?

    this is from jeff wright:  If you are having problems installing the applications from the Adobe Application Manager please try downloading and installing the trial.  When it asks you to sign in please enter the Adobe ID related to your Creative Cloud membership.  This will work for all applications except Acrobat.  For Acrobat you will need to first run another one of the Creative applications using your Creative Cloud Adobe ID after Acrobat is installed.  It should then remove the trial restrictions.

Maybe you are looking for

  • How do I go back to OSX6.8? without losing data

    I just upgraded to Mountain Lion. I'm not happy. None of my ancient (power PC) applications work anymore and I've got to spend a fortune on new versions of Photoshop, Microsoft Office etc. Mountain Lion has annoying features, like the trackpad works

  • Equal Employment Category details in report

    Hi Experts, I need to get EEO Category details in report for job code listing. Where we maintain job codes? In SPRO settings I have seen under EEO information for US based public sector employees, that EEO category is assigned to jobs. In OM infotype

  • HT1380 My universal dock quit working with ios 6.

    When I put the iPhone or iPod in the dock a message pops up that it needs an app that doesn't seem to exist.  ???? Help!

  • DVD of PDF Portfolio

    I am making a PDF Portfolio. Within this portfolio I have one main document that has a lot of links to audio files, other pdf documents, powerpoint presentations, videos, websites etc. However once I save the portfolio and open the document on anothe

  • Slow speeds/disconnections in Coventry area (02476...

    For past 4 days I've been getting slow speeds and disconnections. Phoned support got through to India (waste of time), and was told to ring back tomorrow because they had so many problems. Anyone else in Coventry area having probs? Luckily I am neari