Applet reloaded : IE 7/8 problem only

Hello all,
I have this very weird issue with an applet : it does not stop reloading.
More precisely, in IE, my applet is loaded in an ajax loaded DOM element. When I remove the DOM element : stop() is first invoked by the browser, but start() follows just after... !!!
I have tried System.exit() in the destroy method, but depending on the browser and the java version, that may kill the browser itself.
Has anyone encountered the same issue ? How can one properly dispose of the applet instance ?
Thanks in advance for your replies.
Anthony C.

You may find the solution here:
http://java.sun.com/docs/books/tutorial/deployment/applet/lifeCycle.html

Similar Messages

  • Applet- Reload

    Applet->Reload result in closing of applet window... It calls....
    stop()->destory()->init()->start() . Still window is not displayed.
    Have i missed something ....
    Applet that i have created is the simplest of Applet with only print statemetns inside init(), start().......

    Hello Roger,
    thanks for your answers. I was talking about FF3 and the java sun 1.6 that
    came with ubuntu 8.04, and iirc fedora. But also epiphany under ubuntu 8.04
    and fedora with FF3 (current version, already removed it again) have troubles.
    Meanwhile I tried the new OpenJDK version and this one does not have the
    reload-problem. I noticed that combinations of FF2/Solaris FF2/Linux FF2+3/Win
    have no problems at all (all running some 1.6 versions).
    Thanks also for telling me about the 6u10 release, I realy wasn't aware of it. But
    my problem is not to make an applet working for myself. I want to develop an
    applet for others, I want to make it work with any version of java - and what I
    want is not so special, just 2 textareas and a bunch of buttons, reliable operational.
    So I will not try the 6u10 for now because even if it would work it wouldn't
    help me.
    Applets dying because of a page reload is - as I think - a horrible bug and I
    don't understand why such bug reports are a week later still marked as
    "unconfirmed" or "new". But I'm talking about mozilla bugs, so I'm probably
    at the wrong place for complaining about that.
    Another thing is that, for instance, opera on ubuntu 8.04 running the sun java
    1.6 has another kind of problems with reloads, the applet looses the focus
    on reload, one must focus another non-opera window and than focus back to
    the opera window in order to give the input focus to the applet.
    All that is very annoying if you just want to develop a little simple applet for anyone.
    Best,
    Leander
    ps.
    Btw, all browsers like FF2+3/IE6+7/Safari/Opera and the sun java 1.6 work perfectly
    under windows :-/ so problems with three popular browsers running under one of the most
    popular distributions lets me think that there is something wrong with the java support
    under linux.
    pps.
    why is there still no 64bit browser plugin?

  • Install failure due to "faulty DVD" problem: only with Family Pack?

    After going through a few threads on the subject of installation failure due to tbe pseudo-faulty DVD, I have the impression that many users mention that they were using a Family Pack install DVD or in one case a "drop in". The former is my case. Please post if you have had this problem with Leopard install, and whether you were using a single licence, family pack or drop in. It's just a hunch, but perhaps this problem only affects a specific set of disks.

    I believe that they are holding back on sending a new DVD until they know why there were defective ones. I read somewhere that they require a new SKU so that they will actually be a separate batch.
    Can you borrow a DVD from anyone to install Leopard? You certainly would be allowed to legally do that. I am surmising that Apple is overloaded with requests for a replacement DVD and really want to make sure it works. You know that old thing about "fool me once..."
    Stuff happens - but with Leopard, a lot of stuff sure happened at once. They sold 2 million DVDs. If only 5% have problems, that's a lot of problems to deal with, one at a time.
    In time it will sort itself out, but in the meantime the rooms are full of smoke

  • Working with my 2 FireWire HD i had a crash. the only way to start was a safe start. then id maged to start from a DVD and install a MAC OS 10.3 wich ran 4 some time then the same problem only safeMode. kernel panic inserted the tech tool DVD

    working with my 2 FireWire HD i had a crash. the only way to start was a safe start. then id maged to start from a DVD and install a MAC OS 10.3 wich ran 4 some time then the same problem only safeMode. kernel panic by inserting the tech tool DVD, wich produces the following highligted text:
    panic(cpu 0 caller =xffff0003): 0x300 - Data access
    latest stack backtrace for CPU 0:
    Backtrace:
    0x0009CC88 0x00D63C 0x00029DAO  0x000BOA10 0x000B4270
    proceeding back via exception chain:
    Exception state (sv=0x26acd700)
    PC=0x2717E900; MSR=0x00009030; DAR=0x00000000; DSISR=0x40000000; LR=0x2717EBE4; R1=0x26AD3AE0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x27178B0 0x00344ACB 0x00345970 0x2717EC08 0x2718458 0x00340590
    0x003496EC 0x0034B59C 0x0034A6BC 0x000B1DD4
    Kernel Loadable modules in backtrace (with dependencies):
    com.apple.driver.AppleFWDHC1(3.9.5)00x2717c000->0x271aafff
    dependency: com.apple.iokit.10PCIFamily(2.6)00x1e840000
    dependency: com.apple.iokit.I0FireWireFamily(3.4.7)00x270dd000
    Exception state (sv=0x26abd280)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000;R1=0x00000000; XCP=0x00000000 (unknown)
    BSD process name corresponding to current thread: kernel_task
    so what
    greetings from berlin

    Greetings,
    It appears to be a FW problem, possibly flaky case, or drive problem.
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts (Users & Groups in later OSX versions)>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • TS1718 Is anyone else experiencing trouble playing video in itunes?  Video intermittenly pause and plays without audio?  Video used to play fine this problem only started since the last version of itunes, version 7.  Just updated to v. 11 still having sam

    Is anyone else experiencing trouble playing video in itunes?  Video intermittenly pauses and also plays with not audio.  Video used to play fine.  This problem only started since I upgraded to version 7.  I have not used itunes since then because I couldn't watch anything without experiencing these problems.  I was waiting for the next version to come out and hoped it would fix the problems I was having, but no such luck.  I just upgraded to the latest version, version 11 and I'm still having the same problems.  Anyone else having these same issues and if so, any solutions?

    Is anyone else experiencing trouble playing video in itunes?  Video intermittenly pauses and also plays with not audio.  Video used to play fine.  This problem only started since I upgraded to version 7.  I have not used itunes since then because I couldn't watch anything without experiencing these problems.  I was waiting for the next version to come out and hoped it would fix the problems I was having, but no such luck.  I just upgraded to the latest version, version 11 and I'm still having the same problems.  Anyone else having these same issues and if so, any solutions?

  • I have the exact problem, only have 6 computers with indesign CC version 10.1.0.70, but 2 computers, is version 9, i try actualization no CC, but no success. i can´t use open file, em others computers, because problem version, i liked if all indesign had

    i have the exact problem, only have 6 computers with indesign CC version 10.1.0.70, but 2 computers, is version 9, i try actualization no CC, but no success. i can´t use open file, em others computers, because problem version, i liked if all indesign had the same version.

    http://www.microsoft.com/mac/support
    http://answers.microsoft.com/en-us/mac/forum/macword?auth=1
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/microsoft-wor d-for-mac-2011-will-not-open-error/ecc42616-6f49-40bb-b8f5-e21c711ea359

  • HT204088 I am receiving unauthorised billings for purchase from application Kingdom Age from seller Funzio, Inc .  I can't find a place/link to cancel the billing neither report this problem. The link REPORT A PROBLEM only links you to Apple Store without

    I am receiving unauthorised billings for purchase from application Kingdom Age from seller Funzio, Inc .  I can't find a place/link to cancel the billing neither report this problem. The link REPORT A PROBLEM only links you to Apple Store without a hint/directions whre you can report the problem.
    I've been surfing all parts of the website and didn.t find a manner to REPORT A PROBLEM with purchases on my behalf not authorized.

    Hi..
    Just to be on the safe side if you have not already changed your Apple ID password, probably should do that.
    How to change your Apple ID password
    And you can use the email form for contacting Apple here > Apple - Support - iTunes Store - Contact Us

  • When I click right botton I see a little copy of browser page. This problem only on new version of mozilla. On 15th version of mozilla this problem isn't shown.

    When I click right botton I see a little copy of browser page. This problem only on new version of mozilla. On 15th version of mozilla this problem isn't shown.

    This is usually a problem with hardware acceleration.
    You can try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    You need close and restart Firefox after toggling this setting.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • After installing Snow Leopard on MacPro with 23" HD monitor I have noticed an anomaly when scrolling up or down, a horizontal ripple appears briefly, I have tested other browsers and there is no problem, only in FF 8. What is causing this?

    After installing Snow Leopard on MacPro with 23" HD monitor I have noticed an anomaly when scrolling up or down, a horizontal ripple appears briefly, I have tested other browsers and there is no problem, only in FF 8. What is causing this?

    Hi applecore_eater,
    When Leopard came out, machines were shipping with Tiger for 3-5 months after it's release. So the fact that you bought a machine with Leopard still installed is not uncommon, especially considering we're not even a month into release. Matter of fact, I'd be surprised to see a lot of machines (unless CTO) that are coming with Snow Leopard.
    The battery issue is not specific to Snow Leopard or the MacBook Air. I've deployed SL to about 15-20 MacBook Airs and all of them have been perfectly fine (batteries).

  • I'm facing a problem only for this account that whenever I purchase  a ringtone after few hours it disappears from the sound and it happened with all the ringtones I purchased since 2 days. also  when i visit the store from the same account to downlo

    I'm facing a problem only for this account that whenever I purchase  a ringtone after few hours it disappears from the sound and it happened with all the ringtones I purchased since 2 days. also  when i visit the store from the same account to download the ringtones again i have to buy them again and again . Please try to fix this problem for me and refund my money back.

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
    There are lots of other posts on this forum about ringtones. If you want to contact iTunes Support then you can either use the 'report a problem' page : http://reportaproblem.apple.com
    Or you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Button to make applet reload?

    I wanted to make a "restart" button for my game. Just wondering if there is a way to make the applet reload by the user pushing a button.
    -s64

    Two methods:
    1: Code the applet game so that it resets itself.
    2: Use LiveConnect to call a JavaScript function to reload the page.

  • HT201066 I have problem with recently with playing DVDs on my iMac. the problem only with DVDs, please anybody can help me solve this problem?

    I have problem with recently with playing DVDs on my iMac. the problem only with DVDs, please anybody can help me solve this problem?

    Get a lens cleaner disc. One with brushes and try that. CDs and DVDs use different lenses, so since CDs load and play, I strongly suspect a dirty lens.

  • I have white eyes on my pictures and there doesn't seem to be anything to correct this problem (only a red eye button).

    Just wanted to mention that I have the newest ios 6.0.1 software update on my 4s phone and now all my pictures have "white eye".  There doesn't seem to be anything to correct this problem (only a red eye button).

    ....tough croud!
    https://discussions.apple.com/thread/2495024?start=0&tstart=0
    http://thebeginnerslens.com/iphone-photography/white-eye-photos-iphone-4-led-fla sh-apples-biggest-camera-blunder.html

  • Applet reload problem

    How can one ensure that an applet re-initialise itself when returning to the applet's page after leaving to other pages.
    I can only force to reload by pressing ctrl and refresh botton on the browser. Is there any tricks that can bypass this procedure and reload the applet automatically when one re-enter the applet's page?
    Thanks for any great suggestion.

    I think that JavaScript can be very useful if you wish to establish communication between your Applet and your browser.
    JavaScript -- > Java communication does not require the use of any particular API
    You just neet to clearly specify the name of your applet like this :
    (I prefer to use OBJECT tag than APPLET... is more generic)
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" name="myApplet" width="230" height="360" align="baseline">
    <PARAM name="code" value="myApplet.class">
    <PARAM name="type" value="application/x-java-applet">
    <PARAM name="scriptable" value="true">
    </OBJECT>Check out the scriptable parameter. This is required for Java --> JavaScript communication.
    Now, let's say you want a call a method called setMyAppletName that you have implemented in your applet, you would call it from a JavaScript function like this :
    function callJavaMethod(){
    document.myApplet.setMyAppletName("myApplet");
    }Notice that parameter name in your tag insertion tags should match the name of the applet you're tring to acces in the JavaScript function.
    Java -- > JavaScript communication it's a bit more complicated. It requires the use of netscape libraries that you can find in the following path of your Netscape install :
    [your Program Files directory ]\Netscape\Communicator\Program\java\classes
    There you will need a jar file called java40.jar (this is what I have with Netscape 4.7) where netscape packages are found. After having isntalled this jar in my package directory, this is how I refer to API
    import netscape.javascript.*;
    //Reference to browser window where current applet is embedded
    JSObject jsoWindow = JSObject.getWindow(this);
    //Preparing parameters to be sent to a JavaScript function that is going to be called
    String strHelloMsg = "Hello";
    //Parameters neet to be stored in a String array in order to be passed to JavaScript function
    String[] strArrParams = {strHelloMsg };
    //Init JavaScript function name to be called
    String strFunctionName = "showMessage"
    //Call JavaScript function
    _jsoWindow.call(strFunctionName, strArrParams);In your HTML page you could define such function like this :
    <script>
        function showMessage(strMsg){
                alert(strMsg);      
    </script>That's all the help I can give since I don't know how JavaScript browser events work. You should find it out in the huge amounts of JavaScript tutorial and reference sites.
    Good luck !
    Diego

  • Applet Reloading problem

    Hi,
    I am involved in a project in which we are using many images to scroll in a applet.The url of the images are retiriving from the data base and given to the applet using jsp.The problem is when the page is reloaded it takes much time to show the applet again even i am using the archive tag.Can any one tell me how to get rid of this reloading problem.
    Regards,
    Prakash

    Hi,
    Thanks for the reply.Actually i am not reloading the page.when i go to some other page and comes back it takes a long time ro load the page.Is there any way to overcome this problem.
    Regards,
    Prakash

Maybe you are looking for

  • Value Mapping - N:1 Mapping

    I need to create a value mapping like this A --> 1 B --> 2 C --> 2 D --> 2 E --> 3 So that if the source field has 'A' the value mapping returns 1 and if my source field has 'B' or 'C' or 'D' it should return 2. When I create this in value mapping ta

  • Auto Close Form - 6i

    hello all, how can i close a form automatically if there is no activity for the last 10 minutes. ( forms 6i) thanks in adv. kris

  • Open Links as New Tabs

    Is there a way to make all links that would otherwise open in a new window open in a new tab instead? I like how in Firefox, it can automatically contain everything into one window. I know that I can click using the scroll bar on my mouse to open it

  • How do I get out of Google + ? I by mistake clicked on it. Don't want it

    I by accident clicked on Google Plus. Don't know what it is, looks like social media, don't want it. How do I cancel it?

  • CS6 problem with type leading

    for three days my PS CS6 crashes. If I want to label a photo multiple lines, the text as in the example photo appears. Every time after failure appearance, I reset the PS with CTRL, shift and ALT. Before the first error message, I had installed nothi