Applet: Internet Explorer hung up if UI component is created in stop method

Hello
I'm trying to ask an user is he/she is willing to save some changes in structure that is managed from applet when this user is closing my applet.
Under the jdk 1.4 everything was ok, but in jdk 5.0 it causes internet explorer crashes.
On the web site: http://java.sun.com/j2se/1.5.0/relnotes.html there is a section Java-plugin which says:
Internet Explorer will hang if an applet displays a UI component in its stop() or destroy() method and a user triggers stop() or destroy() by pressing the Back or Refresh button in the brower.
My question are:
Is it a feauture or a bug, will it be improved or it's some security issue?
What can i do to display ui component (i want to know an user choice) on applet closing action?
Thanks in advance for any help.

Hello
I'm trying to ask an user is he/she is willing to save some changes in structure that is managed from applet when this user is closing my applet.
Under the jdk 1.4 everything was ok, but in jdk 5.0 it causes internet explorer crashes.
On the web site: http://java.sun.com/j2se/1.5.0/relnotes.html there is a section Java-plugin which says:
Internet Explorer will hang if an applet displays a UI component in its stop() or destroy() method and a user triggers stop() or destroy() by pressing the Back or Refresh button in the brower.
My question are:
Is it a feauture or a bug, will it be improved or it's some security issue?
What can i do to display ui component (i want to know an user choice) on applet closing action?
Thanks in advance for any help.

Similar Messages

  • Swing Applet - Internet Explorer - Focus issue - tool tips

    Hi ,
    We are using Swing applet in IE Browser , except this swing component rest of the components in the browser are HTML/DHTML components.
    and we are having issue focus issue with this swing components ,
    once immediately after launching the swing applet , the UI components are having some focus issue , if I bring the mouse on top of the swing UI components , we couldn't able to see the tooltips(flyover text) of those Swing UI components.
    However if we click some where on the Swing applet frame , we are able to see these tooltips(flyover text) .
    It looks like a kind of compatibility issue between swing and IE browser .
    I am trying to find a solution for this issue , so that once after launching the applet , tooltips will work without need to click on the applet bar.
    Can somebody share some thoughts on this issue??
    Thanks,
    Bonthu.

    As a wild guess you are mixing Swing and awt components which is a big no-no and among other things can cause repainting, refreshing issues.
    If you want more help then that you need to post some code that shows us what you are doing.

  • Where is my Internet Explorer? When I signed up for Mozilla, it stopped working and I can't get to open.

    Just what I said above!

    Try resetting the cable modem (usually unplugging for about 30 seconds).
    Try defining new DNS servers in your Network preferences.  I recommend OpenDNS (208.67.222.222, 208.67.220.220).
    Also in Network preferences, I am assuming you are using DHCP so set that in Configure IPv4.  In the Advanced settings, for TCP/IP, click Renew DHCP Lease.
    If none of this works Network preferences also has an Assist me... button at the bottom.  Click it, then click Diagnostics.  Or you could click Assistant to help with a complete setup.

  • Adobe & Internet Explorer crashing when opening pdf within an Internet Explorer window

    Hello,
    Can anyone help me with this issue or maybe point me in the right direction? Thank you!
    Working with in a ASP that uses reader to display forms. The form opens as an embedded adobe form in a new Internet Explorer window. Once the form opens it pulls data from the ASP. At times when the form opens in the new window both the Internet Explorer windows close. Other times a "user request stop" error appears and once OK is pressed both windows close. The ASP does not know what causes this & can not seem to replicate the problem. ASP is on the other side of the country.
    Would the acrotray.exe be causing this?
    Adobe Reader           9.3.2
    Internet Explorer:        8 up to date
    Message was edited by: battleaxes1

    Hi, thank you it is working now, I deinstalled and reinstalled the complete
    acrobate set, the reader is version 11 now,
    Sincerely,
    Maria
    2013/6/20 PoojaSehgal <[email protected]>
       Re: Explorer error when opening pdf file from internet  created by
    PoojaSehgal <http://forums.adobe.com/people/PoojaSehgal> in Adobe Reader- View
    the full discussion <http://forums.adobe.com/message/5430017#5430017

  • Local versus Hosted Websites and Internet Explorer 7

    I am working on a site that will be deployed over the internet and distributed on a DVD-ROM. There are many users that do not have access to the internet throughout the day as they are mobile. They have laptops and what to have access to the information on a DVD-ROM. The DVD is needed as the site is far larger than 700MB.
    When I upload the site, it renders well using Safari (Mac), Firefox (Mac), Safari (Windows), Firefox (Windows), and Internet Explorer (7.X Windows).
    When I create a DVD-ROM with a little autoexec.bat file to automatically load the browser and index file, it works great in all of the browsers I have listed above except, Internet Explorer. The javascript menu's are no where to be seen. I have spent time looking a the security issues, scripting permissions etc, and can't get it to work.
    Have body have any specific helpful ideas? I really would like this to work under IE, especially since it renders just fine while accessing the site via the internet. I just doesn't work on a local copy.

    I was having this problem too and found the Dreamweaver 8.0.2
    updater that corrects that problem. See
    http://www.adobe.com/support/documentation/en/dreamweaver/dw8/releasenotes.html

  • Possible JSF bug: link failure in Internet Explorer

    Greetings:
    I have a form which, among other things, contains a table (generated using the <h:datatable> tag). One of the columns in this table contains Command Link (h:commandLink> whose action attribute points to a method in one of my Beans. The command link contains an onmouseup event handler which displays a dialog box for confirmation before actually going to the link.
    When I click on the lcommand link in any Mozilla- based browser (Mozilla, Firefox, etc), the confirmation box comes up and, when ithe user clicks on it tmy Bean's method is called. This behavior is expected and works well.
    Unfortunately, in Internet Explorer, the confirmation box comes up, but my Bean's method is never called! This is the first time I have seen a custom tag of any kind (in this case, <h:commandLink>!) work in one browser and fail in another.
    Could someone tell me why this is or (preferably) how to make my commandLink actions work in Internet Explorer???
    Thank s anyone who can help.
    Factor Three

    Actually, I found the problem. It is a combination of poor implementation of the <h:commandLink> tag's Javascript and a difference in Browser operability.
    The Browser difference is apparently in the way different browsers handle events. In Mozilla- based browsers, when you have an onmouseup event and an onclick event, apparently both event handlers get called. In Microsoft- based browsers, however, apparently if you have an onmouseup event and an onclick event only one of the event handlers (in this case the onmouseup event) gets called. Why Internet Explorer's developers made it behave this way is a mystery, because it goes against the way most Windows applications handle such events (usually, they process any mousedown events that exist, then any mouseup events, then mouseclick events!).
    The result is that in a Mozilla browser, my onmouseup event handler gets called, I click on my Javascript- based confirmation box, then the browser activates the onclick event handler that the <h:commandLink> tag generates. In Internet Explorer, however, only the onmouseup event handler gets called; since <h:commandLink> places the code for submitting my form in its generated onclick event, that code never gets called and Internet Explorer never calls my Bean method.
    The poor implementation of <h:commandLink>'s Javascript comes from the fact that this particular tag does not allow the declaration of onclick events in its TLD. Why the creator of this tag did this is a mystery to me, because all other tags in this category allow such event declarations in their TLDs. It could be said that because <h:commandLink> provides its own onclick event it is logical not to allow such events. This logic is flawed, since other link tags (like <h:commandButton>) also provide their own onclick events, yet they allow programmers to define their own onclick events. I have looked at the generated event handlers for these tags; all they do is take the event handler you define, append a semicolon at the end, then append their standard event handling code behind yours. For some reason, the <h:commandLink> tag does not do this.
    The reason <h:commandLink>'s Javascript handling is poor is because it prevents the addition of any kind of client- side validation, confirmation, or any other operations someone may wish to do using this tag prior to invoking any server- side functionality. The reason why I put in the onmouseup event handler in the first place was because in my user interface I needed to display a warning to a user and to get confirmation that the user really wanted to perform a certain operation before actually going to the server and performing it. Since <h:commandLink> is the one tag that invokes a required bean method and passes it parameters based on an item's position in a list, I had to use that tag and, since it didn't allow onclick event declarations, I had no choice but to use onmouseup.
    If <h:commandLink> had been better implemented (in other words, if it allowed the declaration of onclick events like other tags do) then I would not have been left open to the problems associated with the different browsers' event handling. For this reason, I can say that I have, indeed, found a JSF bug -- though it is a rather subtle one.
    In the case of my application, I was able to come up with a kludge which makes it work on all browsers. Basically, I took the onclick event handler code generated by the <h:commandLink> tag and copied it into my onmouseup event handler. Now the proper submits are being done when any browser is used.
    Of course, it would be better if someone at Sun were to make a slight change in <h:commandLink>'s implementation, or if Microsoft were to make its browser implementation more consistant with Javascript standards. But then, life for all of us would be better if we had World Peace...
    -Factor Three

  • How to upgrade Internet Explorer on PosReady 7 ?

    Hi!
    I am in the process of building an image of PosReady 7 and I need to install Internet Explorer 10 on it and have already created an installer with IEAK 10 for my regular Windows 7 Ent clients. This installation worked for Posready 7 as well but there where
    a bug where ie4uinit.exe crashed when logged on for the first time, also, the security patches for IE 10 on Win Ent did not work on Posready.
    So I was thinking that maybe it did not like my installer created from IEAK 10 so I uninstalled my version and search on windows update. No results, just patches for IE8. Why can't I update IE on PosReady?
    While doing some searching I realized that it was not the same installer for posready and Win 7 ent, found this link for example saying that you can log in to MyOEM to download it:
    http://www.elbacom.com/node/756
    Well, I have not access there cause I am no OEM or have a partnership with Microsoft so what I am supposed to do ?
    Stick with IE8? That will create some compatibility issues and I suspect that version is not as secure as IE10 and IE11?
    What I am supposed to do? Why is it so hard to upgrade IE on PosReady machines ?
    Please help
    Thanks!

    From Microsoft ou will see IE is not available for the Mac:
    http://windows.microsoft.com/en-us/windows/answers?tId=11114787-fc3a-4179-a0ca-d f6b407caec4
    You can try the web page in Safari (which is already installed), or
    try downloading and installing firefox (download from here: https://www.mozilla.org/en-US/firefox/new/) or
    try google chrome (https://www.google.com/intl/en/chrome/browser/?brand=CHMA&utm_campaign=en&utm_so urce=en-ha-na-us-bk&utm_medium=ha)

  • How can I open Internet explorer only pages on a mac? The website that I need to access only permits internet explorer

    How can I open Internet explorer 'only' pages on a mac, without creating a drive partition and installing windows separately?
    I've tried winbottler, but it doesn't seem to serve my purpose. The web site that I'm trying to access only permits Internet explorer.

    Microsoft has not written IE for Mac for years so unless you want to create a parition and install Windows, or user a Windows emulator, you're out of luck for installing IE on a Mac.
    The web site that I'm trying to access
    There might be a work around for you since it's just the one site.
    Go to the Safari menu bar click Safari > Preferences then select the Advanced tab.
    Enable the Develop menu.
    Now click Develop from the Safari menu bar then click User Agent > IE 9, 8, or 7

  • I need to run internet explorer for a program I use.But can't access it is this due to running Firefox

    I noticed that when I went to use Internet Explorer a few weeks ago it would say it stopped running. I thought that it was just a fluke. But when I try to download things in my MTC program they will start to download then just stop.MTC needs Internet Explorer 7 to work. And I don't like spending money on a program to find Foxfire isn't supported,or Craig's List or Windows Mail. What gets me is that Wildblue says I need to use this program and I have nothing but problems .Why does it always reset,that's dam frustrating ,reading something...BAM it's gone , Connection Reset.Can anyone help me get Internet explorer back?

    When you originally downloaded the Yosemite installer it was sent to your Applications folder, it did it's thing and then deleted itself. In order to avoid that, you'd need to quit the installer before running it, copy it to a different location and then start it again to actually run the upgrade. So you'll have to download the Yosemite installer again to install it on an external.

  • Applets, JavaScript and Internet Explorer

    Hey guys
    Is there any way that an applet can call javascript functions in Internet Explorer? I know it's possible in Netscape, but I've yet to come across a viable solution for Internet Explorer.
    I've got an HTML page and I want the applet to be able to change the content of a certain part of the page (a marquee) every so often. It doesn't need to use a JavaScript call if you can think of a better solution, but that's the only way that I've tried so far.
    A big thanks to anyone out there who can help me
    Ryen

    There is an easy way to change HTML code from JavaScript by calling an applet, which is not exactly what you want, but is much more simplier.
    Define your applet as scriptable=true.
    Within JavaScript call the method that knows the information you want to print and make it return as a String.
    For example:
    // JavaScript
    View.innerText = myApplet.giveMeMore(); // return a string.
    // The HTML View
    <div id="View"></div>
    You can see something like that with an Swing Applet in http://www.amicworld.com by following XmlBroker.

  • Applet failed to load in Internet Explorer when using JRE 1.5 update 5

    I have downloaded JRE 1.5 Update 5 and checked the relevant checkbox in Internet Explorer Advanced tab to use JRE 1.5 for applets. Did the same in Java Control Panel. However none of the applets seem to load.
    For example I went to this site:
    http://java.com/en/download/help/testvm.xml
    The applet didn't load and I got the following error in my Sun Java Console :
    load: class JavaVersionDisplayApplet.class not found.
    java.lang.ClassNotFoundException: JavaVersionDisplayApplet.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more

    And it's the same behaviour in JRE 1.5 update 8 as well.

  • Java applet not showing up in Internet Explorer 8

    Hi,
    I have an applet tag in a JSP, and it is not working in Internet Explorer 7 and 8.
    Yes, I have read that the applet tag was deprecated - the problem is that it is working for my colleague, also in IE8.
    Java is enabled on my machine/IE options.
    Could anyone please suggest what the issue might be?
    Thanks.

    I haven't tried resizing the applet yet. Since you all mentioned it I am going to play with that later today.
    To elaborate on the fix, yes - updating to Java 6 - 16 will allow IE 8 to display applets.
    Just in case anyone else runs into this issue as well:
    I am running Vista on a 64 bit.
    It has two directories named Program Files:
    One named just "Program Files" - evidently for the 64 bit stuff.
    Another named something like "Program Files (x86)".
    Apparently it will look into "Program Files" - the 64 bit one by default.
    I haven't found a 64 bit version of Java 6 - 16 to install - the only 64 bit one is some version of 1.5, unless I am missing something, so the Java 6 - 16 installed into the Program Files(x86), and 1.5 into Program Files. Windows pointed JAVA_HOME to 1.5 because it looks into the Program Files by default.
    The result was that when I went to the Java site it analyzed my Java version and told me I have the most up to date version. But -
    java -version on the console returned 1.5. Confusing at first, but on such systems, apparently the JAVA_HOME has to be explicitly repointed to the (x86) Program File directory.

  • Java Applet Background Color Problem on Internet Explorer

    Hi,
    Please check out the following URL:
    http://www.utopiainteractive.com/clients/AkonFinal/glossary.htm
    The menu bar is writting in Java Applet. If you scroll down the page, and scroll back up, I see white background as I scroll back up. It happens only on Internet explorer. Neither Java Applet nor HTML Body bg color is white. I am kinda lost, and any help would really be appreciated.
    Thank you and look forward to hearing from someone soon.
    Sachin

    Hi,
    Well I used HtmlConver utility to generate applet html code, so I assume nothing is wrong with Object tag. Do you know what could cause this problem on Internet explorer? To be honest, I spent last couple of days, but I am just lost. It absolutely works fine on Netscape.
    Thanks,
    Sachin

  • Strange image-cacheing in Internet-Explorer with Java1.5-Applet

    I have written a Java-Applet for showing image-slideshows.
    In short words, the applet loads an image, scales it to screen-size,
    and loads the next image when one clicks on the applet.
    The applet causes a problem in MS Internet Explorer. The memory allocated by an image is never freed. After about 30-40 images, more tham 100MB are allocated by the JVM and the JVW crashes throwing an OutOfMemoryError.
    The same Applet runs fine on Netscape and Mozilla. Here, the memory allocated is always between 8 and 25 MB, even after sliding through hundreds of images.
    Some more coordinates:
    The applet is written in Java1.5 source code. My test-system is a P4 with Windows XP SP2. I have tried out Sun's JVM 1.5.0_03 and BEA's JVM JRockit 1.5.0_02 as browser-plugins, both cause the same problem in MS-IE6.
    I have tried to replace Applet.getImage() by com.sun.image.codec.jpeg.JPEGCodec.decodeAsBufferedImage() - same results.
    I have tried to flush any loaded images explicitely in the Applet.stop()-method, but no effort.
    The images are definitely not stored in some static containers inside my applet. The problem occurs on the level of the JVM/browser-constellation.
    Now my question: Is there any trick to affect the cacheing-mechanisms of the JVM? Image.flush() does not solve the problem.
    Is this a Java1.5 bug? Or a MS-IE bug?
    Is there anything that I did not consider?
    Thanks in advance

    I have written a Java-Applet for showing image-slideshows.
    In short words, the applet loads an image, scales it to screen-size,
    and loads the next image when one clicks on the applet.
    The applet causes a problem in MS Internet Explorer. The memory allocated by an image is never freed. After about 30-40 images, more tham 100MB are allocated by the JVM and the JVW crashes throwing an OutOfMemoryError.
    The same Applet runs fine on Netscape and Mozilla. Here, the memory allocated is always between 8 and 25 MB, even after sliding through hundreds of images.
    Some more coordinates:
    The applet is written in Java1.5 source code. My test-system is a P4 with Windows XP SP2. I have tried out Sun's JVM 1.5.0_03 and BEA's JVM JRockit 1.5.0_02 as browser-plugins, both cause the same problem in MS-IE6.
    I have tried to replace Applet.getImage() by com.sun.image.codec.jpeg.JPEGCodec.decodeAsBufferedImage() - same results.
    I have tried to flush any loaded images explicitely in the Applet.stop()-method, but no effort.
    The images are definitely not stored in some static containers inside my applet. The problem occurs on the level of the JVM/browser-constellation.
    Now my question: Is there any trick to affect the cacheing-mechanisms of the JVM? Image.flush() does not solve the problem.
    Is this a Java1.5 bug? Or a MS-IE bug?
    Is there anything that I did not consider?
    Thanks in advance

  • Java Applet not displaying in Internet Explorer Options

    For some reason my Internet Explorer browser is refusing to use Java. I've installed IE 8 and reinstalled the Java application, yet when I go to check the IE Options, the Java Applet does not even display as a selectable option. It works just fine in Firefox, which is what baffles me. As a direct result of this, my Java Desktop applications aren't working properly either. I have one that creates custom playing cards and I can change the backgrounds and view all my cards, but it will not save the information, an error of which I believe to be related to how Java isn't working with IE 8.
    Any ideas? I've made sure that my virus protection is up to date. I'm at my wits end.

    I'm having this exact or a very similar issue on Windows 7 Home Premium (64 bit) laptop with JRE 1.6.0_17
    smccoy wrote:
    Java doesn't work with my Internet Explorer, but it does work with Firefox. After deleting "temporary Internet Files" and restarting Internet Explorer 8.0.7600.16385 Java applets work on the browser.
    >
    Java does not appear in my Internet Options advanced tab.This is the main problem I have, Java is nowhere to be seen under Internet Options
    >
    And, in the Java control panel advanced default browser for Java, the IE is checked but greyed out. Same thing here
    Only thing I can think of is that I've installed both the 32 bit and 64 bit JRE on this machine so I can have Java on both IE 32 bit an IE 64 bit.
    Mght that come into play here?

Maybe you are looking for

  • Invoice Idoc- Status 29

    Hello All, We are using IDOC_OUTPUT_INVOIC function module to send the invoice idocs from SAP. Some Idocs are failing with error "Error in ALE service-No value could be assigned to the field BSART". In the IDOC we see the E1EDK01-BSART field filled w

  • Windows server 2008 restarts

    windows server 2008 SP2 32Bit restarts unexpectedly i did check the server both in normal and safe mode with almost all versions of antivirus but could not find any viruses or worms or trojans,... current antivirus installed on the server is ESET NOD

  • Using Flash Player 10's Cocomo.swc got you down?

    Hey everyone. I'm posting this in hopes it will save someone a bit of time. I was playing with Cocomo today and hit a wall dealing with the Flash Player 10 version of Cocomo.swc and Adobe AIR. I created a new AIR application in Flex Builder 3, and po

  • How to crack stagdard tcode

    Dear All Can anybody tell me how to crack standard tcode I hv requirment that to add one field in the  me21n for that i neew to make zme21n hepful answer wil definatly rewarded Regards Shashikant

  • Schaltplan DAC mit Hardware-T​aktung und Eingabebut​ton ( Diadem 8.0 )

    Hallo ! Ich möchte den angehängten Schaltplan mit einem Eingabebutton zum Abbruch der Messung erweitern ( manueller Abbruch, bevor der Messstart über Trigger gekommen ist ). Der Schaltplan wird in einem VB Script aufgerufen. Nach Beendigung des Schal