HELP PLEASE HELP! urgent question with an easy answer!!!!

Hello;
I designed a JFrame game, that uses gif files as ImageIcons. The game works perfectly when I run it from console with the java.exe command.
However; now I want to create a wraparound and run the JFrame in the Internet Explorer from an applet. So I created a new file that extends JApplet; this new file creates a new object of the JFrame-game's class and show()'s it.
And I created an HTM file that runs the JApplet class. However, the internet explorer cannot open the applet because it has trouble loading the pictures (gif files). How can I load the pictures from my applet for my frame???
I dont want to change the Java security file. I just want to make the images accessible by my applet. I cannot use commands like setImage in my applet because my JFrame sets the Images.
(I repeat)My JApplet only invokes an object of my JFrame class and shows it.
PLEASE HELP PLEASE PLEASE..
Thanks..

OK; let me tell you the whole thing. My pictures are in the same folder for sure.
My JFrame reads pictures and assigns JButtons pictures. when I run the frame there are 16 buttons with the same picture, and when I click the buttons there is a listener in the JFrame that changes the pictures. Simply put, the JFrame has no trouble finding and loading the pictures.
Then I created a JApplet as follows:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class MemoryApplet extends JApplet
public void init ()
     GameFrame ce = new GameFrame ();
     ce.show ();
GameFrame is the name of the JFrame class. Then when I try to open the applet using IE, it gives the following error:
Exception: java.security.AccessControlException: (javax.io.FilePermission back.gif read)
back.gif is one of the gif files that are used in GameFrame

Similar Messages

  • Help Please! Timeline Question with Invisible Buttons

    I am new to FLASH and have created a rotating banner for our website with 5 roatating images with 5 invisble buttons linking to 5 landing pages. And  it works the first loop through.  However when it gets to action 5 for my last image, that link continues for all the buttons is subsequent loops.  What do I need to add to my code to get the actions to loop like the timeline is looping?
    Code used for the links. This is the link that continues after the first run of the banner:
    var url5:URLRequest = new URLRequest("http://www.facebook.com/MoDOT.KansasCity");, onStageClick5);
    stage.addEventListener(MouseEvent.CLICK
    function onStageClick5(event:MouseEvent):void
        navigateToURL(url5,"_blank");

    i can't tell what's causing your problem but that code doesn't look right.  use:
    var url5:URLRequest = new URLRequest("http://www.facebook.com/MoDOT.KansasCity");
    stage.addEventListener(MouseEvent.CLICK
    function onStageClick5(event:MouseEvent):void
        navigateToURL(url5,"_blank");

  • Help please!!! with AMD 3200+

    Just Purchased a brand new xp 3200+ to run on my K7N2 Delta ILSR, I had been running a 2500+, Anyway at this point the system is totally unstable at default (200) mhz fsb, It will not even last one cycle with sisoft sandra's burn in wizard and reboots just logging into the system.
    However when I set it up to run bios setup defaults it's solid as a rock.  But it's recognizing the processor as an xp  2500+ and running at 1.8 ghz, with the 333 mhz fsb.  I originally thought this might be a ram problem, so I took out each stick and tried to run it at 3200+ one at a time, same problems all over again.  tried turning off agp fast write, loosening the memory timings, every thing i can think of.
    Do i need to re-install windows??? any help at all would be greatly appreciated I would hate to think i just paid all this money and have to run at 1.8 ghz
    My System:
    MSI K7n2 delta l ilsr
    xp 3200+ barton
    1.5 ghz pc 3200 ram micron technology dual channel 400mhz
    slk 900a heatsink, 3000 rpm fan, 43c idle 48 load
    PSU hercules 420w
    windows xp professional sp 2
    Bios version 7.8
    seagate barracuda 120 g primary hd
    maxtor 80g diamond max back up
    video card nvidia geforce 5200 with 256 on board mem

    As I said in the post, I tried Loosening the memory timings, to no avail, Heat is not a problem here, temps are staying in the 40's at default settings, I have a huge leaf blower fan on the processor (tornado) along with the slk 900a bios is 7.8, I am not concerned with Sisoft sandra scores at all, the only reason I ran it is to try to determine the problem by putting first the processor and then the memory, then the video under load, when I say it's unstable I mean it's rebooting when I'm trying to type this message, I tried to include as much info as possible in this post, about the system, including the part about the ram, timings i've loosened them to 11,4,4, and the cas latency to 3,
    kudos to the guy who said to bump the voltage, i'm at 1.7 cpu core and it's only restarted once in the last hour so it seems to have stabalized a bit I just think it's ironic, that I went from the 2500+ to this cpu so I wouldn't have to OC to get it above 2g and now tha't what i'm having to do,,,,it has however upped the temps about 5 degrees to 48 idle, and 53 load,  how high can i take the core voltage without damaging the cpu???
    Help please!!! with AMD 3200+  
    Just Purchased a brand new xp 3200+ to run on my K7N2 Delta ILSR, I had been running a 2500+, Anyway at this point the system is totally unstable at default (200) mhz fsb, It will not even last one cycle with sisoft sandra's burn in wizard and reboots just logging into the system.
    However when I set it up to run bios setup defaults it's solid as a rock. But it's recognizing the processor as an xp 2500+ and running at 1.8 ghz, with the 333 mhz fsb. I originally thought this might be a ram problem, so I took out each stick and tried to run it at 3200+ one at a time, same problems all over again. tried turning off agp fast write, loosening the memory timings, every thing i can think of.
    Do i need to re-install windows??? any help at all would be greatly appreciated I would hate to think i just paid all this money and have to run at 1.8 ghz
    My System:
    MSI K7n2 delta l ilsr
    xp 3200+ barton
    1.5 ghz pc 3200 ram micron technology dual channel 400mhz
    slk 900a heatsink, 3000 rpm fan, 43c idle 48 load
    PSU hercules 420w
    windows xp professional sp 2
    Bios version 7.8
    seagate barracuda 120 g primary hd
    maxtor 80g diamond max back up
    video card nvidia geforce 5200 with 256 on board mem

  • Hello Creative Cloud Illustrator Community. Help Please! This is with regard to compound paths and transparencies. I have set some type on a circle and then created outlines. I then placed the outlined type on a black stroked ring which I then selected "o

    Hello Creative Cloud Illustrator Community:
    Help Please!
    This is with regard to creating a compound path:
    I have set some white type on a circle and then created outlines. I then placed the outlined type on a black stroked ring which I then selected "outlined stroke." I then put both "outlined" graphical elements on a separate solid bkg. (all 3 are on the same layer). Lastly, I then selected the top two elements and went to "make" a "compound path" (because I want the type to be the "holes" so I can see through to the background). However, the only effect I get is the white outlined type turning black (the same color as the black ring). What am i doing wrong? I can achieve the desired result with simple boxes but it won't work with a circular type path, a stroked ring and a solid bkg.
    Any help on this would be greatly appreciated!
    Thank You!

    Thanks for the response Jacob.
    Unfortunately, I tried your suggestion with no success. BTW, minus front is now Subtract. Apparently, by clicking option>subtract, it works in the same way as minus front. I tried this to no avail.
    Let me reiterate please.
    I have 3 graphic elements-all on the same layer:
    1. Background: Gold circle with a fill and no stroke.
    2. Middle: Black ring (Stroked) inside gold background circle.
    3. Top: White copy set on a circular type path and placed directly on top of middle black ring.
    Both the middle black ring and top type path HAVE BEEN CONVERTED TO OUTLINES.
    LASTLY, I select the Middle and Top, go to Compound Paths and choose "Make" and my white copy turns to black. Wrong!
    WHAT I WANT TO HAPPEN: I want the white copy to become HOLES, so the GOLD background shows through.
    Any solutions would be very much appreciated!

  • I can buy my needs from the game says I tell customers to help please help me Visa card not working in any Itemes games

    I can buy my needs from the game says I tell customers to help please help me Visa card not working in any Itemes
    games

    If you mean that you have been instructed to contact iTunes support, then will need to do what it says, contact iTunes Support. These are user-to-user support forums, if you thought you were contacting Apple by posting here. Go here:
    http://www.apple.com/emea/support/itunes/contact.html
    to contact the iTunes Store.
    If that does not answer your question, try posting in your native language, or find a friend with a better command of English to help you ask your question here.
    Regards.

  • When I try to install Itunes, I get this error: (translated from Norwegian) There was a network error while trying to read from the file: C: \ windows \ installer \ iTunes.msi I have tried many times to reinstall, but nothing helps, please help me.

    When I try to install Itunes, I get this error: (translated from Norwegian) There was a network error while trying to read from the file: C: \ windows \ installer \ iTunes.msi I have tried many times to reinstall, but nothing helps, please help me.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • HT1937 I have an iphone bought in the UK but I'm in Europe and can not use it I need help please help me thanks

    I have an iphone bought in the UK but I'm in Europe and can not use it I need help please help me thanks

    wiliiam rrichard wrote:
    Because My iphone is Locked on the United Kingdom
    No it is not.  iPhones, like all cell phones are not locked to countries.  They are locked to carriers.
    Only the carrier to whom the device is locked can unlock it.  Contact the carrier.

  • Help please! Going mad with CSS in JEditorPane

    Hi gurus,
    For more then two days now i am trying to get css working with html in my jeditorpane.
    This is the stylesheet:
    .toc1
    font-size:12.0pt;
    font-family:Arial;
    font-weight:bold;
    margin-bottom: 0px;
    .toc2
    font-size:11.0pt;
    font-family:"Times New Roman";
    margin-left: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    .plannerhyperlink
    color:green;
    text-decoration:italic;
    SIMPLE isn't it?
    In my JEditorPane constructor I do this
    StyleSheet styleSheet = new StyleSheet();
    //StyleSheet styleSheet = kit.getStyleSheet();
    FileReader reader = new FileReader("/programs/eclipse/workspace/Planner/src/nl/renepetersconsultancy/planner/gui/HTMLHelp/test.css");
    styleSheet.loadRules(reader, new URL("file:/programs/eclipse/workspace/Planner/src/nl/renepetersconsultancy/planner/gui/HTMLHelp/test.css"));
    kit.setStyleSheet(styleSheet);
    setEditorKit(kit);
    setPage(url);
    I know that the rules are loaded: I printed them to check that. But nothing happens!!!! Almost all layout is gone. If I use the original stylesheet and load my rules on top of them, I can see I have all of them, but everything is layout with the original default style and again my layout is ignored.
    HELP Please, anyone. I am desperate (deadline + demo is tomorrow) :-(
    Rene'

    GL is far easier to do simple CSS than DW, but once you get through the awkward DW interface, it can become clearer. I can only easily see how CSS is created in DW by exporting a GL site that has some already in it. Still not as easy as GL, but we're now stuck with it.
    DW still does not handle full fledged CSS unless you have coding experience.
    DW has always been more for the programmer than designer (just try asking a question on the DW forum :-)
    CS4 seems to be an improvement, but not there yet.

  • NEED HELP PLEASE! URGENT

    Hi guys. My iphone 3gs digitizer wasnt completely functional because some parts of it didnt respon to touch, so I decided to replace it myself since there are no apple stores around where I live. I bought a digitizer set with home button and speaker etc. So only thing I had to do was to unplug 1,2,3 connectors , remove the lcd from old digitizer, and place it in the new digitizer. I did that succesfully, but when I tried to reconect everything, a problem occured. I accidentally ruined lcd flex cable so the lcd cannot be connected to the logicboard. Logic board is fine, but the flex cable is messed up and I need to buy a new lcd. I connected #3 and #2 connectors to their place on the motherboard and left the #1 connector unpluged because it cant be plugged in. I powered on my phone, and noticed that the screen was black ( as expected ), and another problem occured which was that my phone could not respond to touch. I can receive calls ( i plug my headphones and use the button to answer call and then unplug them and I can hear the voice on the other side of the speaker so that means that i plugged #3 connector correctly ) I tried reconnecting #2 cable and I know its plugged correctly in the motherboard but the phone is still not responding to touch. I tried a hard reset, and it didnt help. I dont want to restore my phone because I wont be able to activate my phone and wont be able to receive calls. SO IS MY #2 CONNECTOR RUINED ON THE LOGIC BOARD OR THE LCD NEEDS TO BE PLUGGED IN IN ORDER FOR DIGITIZER TO WORK? help please ( i tried with an another digitizer and the same lcd and have the same problem, help me please

    As I said above, there are no apple stores near me. There are no apple stores in my country at all. The closest apple store is 2000 km away from where I live, and my phone wasnt under warranty anyway and I dont care about warranty at all. I just want to know the answer to the question I asked above. Thanks for your response anyway mate, cheers

  • Help please, combining AND filters with OR filters

    I have this application I am working on: http://webbymgc.com/tomato/
    It's working fairly well EXCEPT, and this is a big except: selectors WITHIN each fieldset should be "or" but BETWEEN fieldsets as "and"
    In other words, clicking "red" and "yellow" in "color" should get you both kinds of tomatoes.  This is how I set it up.
    Now, if you check "class" = "heirloom" is adds all the ones that match that term, so you get more tomatoes.  I would like "heirloom" to be an "AND" so the user would get yellow or red heirloom tomatoes.
    Make sense? 

    mr kglad i really hope my ( too many replies and questions ) don't bother you.. but please excuse me if they sound foolish or something im a beginner as mentioned...
    There must be something wrong with whatever im doing ... ( im so desperate and since you are the only one who replied on me i really need your help please.. )
    1- i published the first fla as a swf (10.3 ) with a button with the code you've given me )
    2- i published the second fla as a swf (10.3) with another button with the same code you've given me )
    3- i made a main page where there are two buttons.. one for english and one for foreign language
      English button with this code :
    Engbutton.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_4);
    import fl.display.ProLoader;
    var fl_ProLoader_4:ProLoader;
    //This variable keeps track of whether you want to load or unload the SWF
    var fl_ToLoad_4:Boolean = true;
    function fl_ClickToLoadUnloadSWF_4(event:MouseEvent):void
        if(fl_ToLoad_4)
            fl_ProLoader_4 = new ProLoader();
            fl_ProLoader_4.load(new URLRequest("englishformFIN.swf"));
            addChild(fl_ProLoader_4);
        else
            fl_ProLoader_4.unload();
            removeChild(fl_ProLoader_4);
            fl_ProLoader_4 = null;
        // Toggle whether you want to load or unload the SWF
        fl_ToLoad_4 = !fl_ToLoad_4;
    and the other button with the same code ( the second fla )
    IT DOESNT WORK WHEN I TEST THE MOVIE.. the return buttons nor the main ones..why why why why why... ???
    i really need your help
    THANK YOU in advance

  • HELP PLEASE!  Major Problem with FCP Project

    OK I am starting to panic. I was editing a wedding video for a client on this 150GB proMAX external hard drive. Everything as fine until this morning. Now when I go to open the project I always get a fatal error.
    What happens is the project begins to load but then gets to one unrendered point on my timeline and it just hangs. I get that spinning ball of death and I'm not sure why. Then the program "quits unexpectedly." I have tried this several times and consistently get the same result.
    I have tried opening this project on my MacBook and the same thing occurs. Can anyone PLEASE help me with this issue? I would appreciate any help

    sounds like a corrupted clip.
    disconnect the proMAX drive first, then open the project.
    when the project has opened (with all media offline) then reconnect and mount the proMAX drive.
    now you can start to reconnect the media ... but do it in parts, not all in one go. by a gradual process you should eventually discover which clip is causing the crash .... when you find out the corrupt clip, recapture from source.
    good luck
    Andy

  • Help please!  Urgent!  How do I restore my computer to factory settings?

    I got a potential buyer for my macbook pro because I'm selling to buy a Mac Pro. Anyway, he wants to pick up the computer in an hour and a half. I need to restore the computer to factory settings WHILE ALSO getting Windows XP off of this computer and making it one big Mac OSX hard drive as if someone just bought it. How do I do that? Please help! THANK YOU!

    First, use the Boot Camp software to restore the drive to one partition (although I don't think you need to do this, it can also be done with what I'm about to say). Then, boot up using the system software the computer came with (the grey OS X discs), and open up the Disk Utility program. Format the hard drives you want to format, and if you didn't do the first step I said, I think you can format the Windows drive then format the Mac drive, then merge the two.
    Then, restart and re-install the OS (Mac), and everything should be the way it was.
    Just make sure to backup any data you want to save!
    Hope that helps.

  • How can I uninstall Maverick and reinstall snow leopard? My mac hasn't been the same since I upgrading to maverick. Runs slow, crashes, can't cope with normal functions.... Help, please help

    How can I uninstall Maverick and reinstall snow leopard?
    My mac hasn't been the same since I upgrading to maverick. Runs slow, crashes, can't cope with normal functions....
    I need to go back to leopard or buy a new MacBook Pro!
    Help, please help

    Revert to a Previous OS X
    Revert to former OS from Mavericks
    Revert to Snow Leopard

  • Need HELP please i got problems with my HP recovery

    Please help i can't do anything on my Hp ProBook 4520s dont know how too recovery it i use bios HDD Self Test and it stop on Test2 on 10% and it dont do anything. I don't have any CD. I'm not good at this but what is the boot device or how can i do it PLEASE help ME.

    No one can help me i can't belive it

  • |HELP PLEASE|:. Using itunes with iriver, how! .:|HELP PLEASE|

    Ok, for christmas i got an ipod [Nano 3rd gen], and my lil sis got an iriver [X20 model, just today mum bought us X3 $30 itunes cards, for itunes, now the format itunes uses is called :m4a, i want to get these songs onto my sisters "iriver X20" mp4 player, but the only formats the iriver can use are:mp3 & WMA, please help, i have tried to just put the itunes straight on to the iriver X20 but when i took the usb cable out of the iriver, it showed no recollection of the itune songs.
    i put the cable back into it so connected to the computer again, and it showed the itune songs were still on the iriver X20, im sooo confused, maybe if i could change the itunes format the mp3, from m4a i could use the on the iriver X20, but i dont know how to do that either, im really puzzled lol, please help!

    +the only formats the iriver can use are: mp3 & WMA+
    The iTunes Music Store does not sell either of those.
    To use your gift card, make sure you are buying "iTunes Plus" tracks. Use iTunes to convert them to MP3 format, which can then be played on your iRiver. Follow the directions in the iTunes Help article "Saving a copy of a song in a new file format."
    Do not buy the protected tracks. They are not usable in non-Apple players.

Maybe you are looking for

  • I can't log in to my hotmail account because of third party cookies being disabled

    I changed my cookie settings because of a bank site that I needed to use to make an e-deposit. In order to do that, I had to enable 3rd party cookies. After I did that, I can no longer access my hotmail (outlook.com) e-mail account. I can't sign in t

  • Can I mass-convert topics to framesets?

    RoboHelp 7 webhelp We want to change our online help to have a left nav panel and are researching using framesets to accomplish this. So far, we like what we see in our prototypes. If we decide we want to go with framesets, we are wondering if there

  • Sort ADN

    Hi everybody, I am developing a module, which load, in an byte array, and sort the ADN. The loading works perfectly with 200 different records in 13 sec. I load all the ADN in a huge buffer and I manage my record by using offset? My problem is that I

  • Encore 2.0 doesn't restart

    When running Encore DVD 2.0 I exit the program. After exiting, the application disappeared from my desktop so I assumed the application actually terminated as it should. Later I would try to restart Encore. After double clicking the shortcut for Enco

  • Can I make dll with cpp files?

    Can anyone tell me whether I can make dll from a *.cpp file and call it from the call library function node in LV? I am getting this doubt bcoz when I right the Call Librarry function node, the calling convention is C and not C++. Thanx & Regards, Sr