Other Browser Windows closing

Hello,
I am having a problem with the JRE. I am using JRE 1.3.1_04 on Windows 2000 and IE6.
If I already have browser windows open and launch my java applet from a shortcut on my desktop, IE seems to launch this new browser in the same process as the already open browser windows, and the JVM attaches itself to both browser windows. So when I do a system.exit(0) all browser windows close.
This poses a major problem for me as the users will be launching this applet from either a shortcut on thier desktop or a link from another Web application (which is set to open in a new window). In both these cases windows will open a new browser in the same process.
Any help would be greatly appreciated.

You should not use System.exit() from applets. And Sun should have not allowed you to do so. ;)
By the way:
1. I saw a checkbox somewhere in Explorer settings: "Reuse explorer windows when launching shortcuts".
2. Why not to use an applet viewer instead of IE? It will run as a separate JVM.

Similar Messages

  • How to trap client browser window closing thru JSP or servlets

    How to trap client browser window closing thru JSP or servlets?
    Gunjan

    Hi
    Though some JavaScripts may provide you with solutions , yet there is no reliable way to detect the closing of the browser by the servlet. One way to achieve detection of user quitting a session is setting session timeouts ion the server side. This can be done either through the web.xml file or programatically by setting the session.setMaxInactiveInterval().
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun microsystems Inc
    http://www.sun.com/developers/support

  • Can I get the URL of any other browser window in java

    Can I get the URL of any other browser window in java

    Hi, did you find the way to find the URL of the WSDL? I have the same problem.

  • How can i find that which page is opened in other browser window

    How can i find that which page is opened in other browser window
    Can i restrict opening of a new instance of browser by end user.
    Thanks in advance.

    you can use Javascript functions/varibles.
    In any page you can insert a special form like this:
    <form name="myNameWindow">
    <input type="hidden" name="myName" value="Ivan_pag01">
    </form>
    and in the other reading that value.
    Obviusly you have to save a reference in a variable of the other window.
    This is possible only if:
    1) other page is in the same browser window but in an other frame
    2) you have generated the other page via an "window.open" function (or your page is generated from it via that function)
    -- Ivan

  • FF5.01 for Windows deletes and blocks cookies if other browser-window is opened and closed

    Recently (five days ago, before that FF worked fine) my FF5.01 for Windows has started to delete cookies if other FF-window is closed (and that way I get "logged out" from sites I've been logged in) and FF also rejects all cookies after that which prevents re-login to sites, closing all FF-windows helps until other FF-window is opened and closed then cookie-deleting and rejecting starts again. No problems on 5.0 for Windows (32bit).

    Hi detroitdecay !
    Sorry for my english.
    I have the same problem. Did you find a solution ?
    Thks.

  • Browser window closing

    Hello,
    How could I close browser window from jsp code?
    Probably I have to use JavaScript. But, window.close() doesn't work.
    May be someone has some ideas about this topic?
    /Aljoha

    I need to open a confirmation window on the click of a command button(Exit without saving). If the user clicks Ok on the popup confirmation, then the main form window should be closed. If user presses cancel, then there's some other action to be performed to reload the page. (The form itself is in jsf . So the bean method in action takes care of the cancel part).
    This is the snippet of code for the 'Exit without saving' command button. It works fine in Camino and Mozilla, but has problems in IE and Safari. Can somebody suggest an all-browser compatible way of doing this?
    thanks
    sowmya
    <h:commandButton id="exit_wos"
    value="Exit without saving"
    onclick="window.close();"
    immediate="true"
    type="submit"
    action="#{annotationMainBean.exitAction}"/>
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function
    closeWindow () {
    var x = confirm('Are you sure you want to exit?');
    if(x == true) {
    window.close ();
    //--></SCRIPT>

  • FF4.0 Windows XPv3 drag tab to 2nd screen, drag bar off screen at top, close other browser window, shuts down both browser instances. BTW, look at how SAFARI does the drag tab to other screen, that is how!

    FF4, drag 2nd tab to new window.
    2. top dragbar is off screen at top. I unmaximize the original screen, now that one also pushes the drag bar to the top off the screen. I resize the bottom of the screen and I can see a sliver of the top dragbar. If I close one browser window, both shut down. Auch!
    Please take a look at how safari renders a second browser window when you drag one tab to the other window. Cool!

    FF4, drag 2nd tab to new window.
    2. top dragbar is off screen at top. I unmaximize the original screen, now that one also pushes the drag bar to the top off the screen. I resize the bottom of the screen and I can see a sliver of the top dragbar. If I close one browser window, both shut down. Auch!
    Please take a look at how safari renders a second browser window when you drag one tab to the other window. Cool!

  • Droid2 Browser Windows Closing

    Moved for greater exposure

    Hello NEHill,
    Please follow these steps to have more than one browser window open at a time.
    Go to the browser.
    To open up another window go to menu.
    Select Windows.
    Select New Window or a window you already have open.

  • Browser window closing without showing MSS report

    Under MSS user clicks on a report name in the portal bowser, it opens up a new pop-up window which closes out immedietly with another small pop-up coming up for " closing the session" and closing.
    The case is same for all reports except one report(Attendance) in which it shows the report data.
    This is an IAC iview that launches the "HRWPC_FC_EXEC" Internet Application Component.
    Anybody can help ??

    Hi Ram Gopal,
    Is ur problem got resolved..?
    Please let me know the solution if it is resolved. Me too facing the same issue.
    I observed that if the data is not there for that report, system closes the window.
    Regds,
    Bharghav.K

  • Message Handling WDA and another Browser Window

    Hello,
    We have one Web Dynpro Application (ABAP) and this application will be run in a portal (NetWeaver 2004 s). We would like to start one JavaScript application from this WDA. This application started on click (UI-Element "LinkToURL"). We need the status of the started JavaScript application in the Web Dynpro Application. The important status are, error, exit, successful, browser window closed, ... .
    How we can implement a message handing with WDA and JavaScript.
    Thanks for your creative suggestion.

    Hi Andrea.
    I am not sure if this is what you are looking for:
    http://help.sap.com/saphelp_nw04/helpdata/en/82/04b340be3dff5fe10000000a155106/content.htm
    Seems that there is a JavaScript Library for Portal.
    In WebDynpro events are triggered as described here:
    http://help.sap.com/saphelp_nw04s/helpdata/en/da/f96f4132f15c58e10000000a1550b0/frameset.htm
    Cheers,
    Sascha

  • IE browser windows crash at Flash player websites

    My computer seems to be running much slower at sites where Flash Player is used.  Myspace crashes/automatically closes very often.  I have downloaded Flash Player 10.  I have no idea where it is on my computer though.  I am using Internet Explorer 7, but was thinking of using FireFox.  I downloaded FireFox and went to YouTube and wasn't able to view any movies.  So I've downloaded Flash Player 10 a couple times and nothing is working.  I have run CCleaner, Malwarebytes, and have given combofix logs to other forums.  I have (hopefully) pinpointed the problem to being my Flash Player.  Thanks in advance for your help!

    I suggest that you start afresh, by following these steps
    download the FP uninstaller from http://kb2.adobe.com/cps/141/tn_14157.html (save to disk);
    download the offline installers
    for Internet Explorer http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player_ax.exe (save to disk);
    for all other browsers http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe (save to disk);
    close all browser windows and run the downloaded uninstaller;
    reboot windows to remove all residual FP files;
    with all browser windows closed, run the downloaded installers.

  • New browser window

    I would like my application (which is built with adf uix) allows the user to open a new browser window when he needs.
    Unfortunately this functionality creates some problems.
    1)     I set and get some sessionScope attributes to manage some behaviour of the program. When I open a new browser window if I set a sessionScope attribute (e.g. ‘sessionScope.attr1’) with a value while working in this window then I will read this value also in the other browser window, and this is a problem for me.
    2)     In one page I display the values of the current row of a view object. The current row is set with some operation. If the user opens a new browser window and performs this operation he will set a new current row in the view object, so in the other browser window he will see the data of the wrong current row.
    Is there a solution to this problems or should I force the user to work with only one browser window?
    Could it be a solution to ‘force the creation of a new session’ when a new browser window is opened? And if this is a solution, how to do this?
    Please help.
    Thanks, Mauro

    repost

  • Applet launching browser window in Java 6u10+

    Finding a problem that appears to be limited to Java 6u10+. We have an applet which opens multiple JFrame windows, and in some cases, the user might click something in the applet that should trigger the browser to show a popup browser window with some web page. That part all works fine, and the browser popup shows in the front as it should in older java versions.
    However, it appears that since 6u10, now that the applet process is separate from the browser, the popup window no longer can be brought to the front of the applets. It is being launched and brought to front with Javascript, but that only brings it in front of other browser windows, no longer in front of the applet. And the only thing I can find to resolve this is to minimize/iconify the applet windows, and that's not ideal to hide all windows.
    Is there anyone else seeing this? Has anyone found any fix or work around for this (without minimizing all the applet windows)?
    thanks

    in Java 6u10 it works?
    I guess it's similar. My applet calls showDocument(), but it is only passing a URL with query string parameters which the page called reads (via Javascript) and uses JS to call window.open() with the contents based on those parameters. I don't have access to the system to change the way the web works. The team that does has looked into it, and said they do make the tofront call in JS to push the browser window up. But it won't go up all the way, only above other browser windows, and not the applet window (which is a JFrame). Then the OS (windows in this case) starts blinking the taskbar button for the popup window for attention, but that's not helpful.
    The only common factor in the reports were that it's Java 6u10 or higher. XP, Vista, FF, IE, all had the problem with 6u10+. And knowing how Sun changed the plug-in architecture, it actually makes some sense as to why this happens. However, this seems to be something that there is no way to fix short of Sun doing something. Or as mentioned, minimize my window just to let others show up, which is going to be annoying as a user to have to restore the window to go back.

  • Browser window focusout problem

    Hi, I have create a poker game user have 30 seconds time to play his turn, but the error is when user open another tab of his browser then flash countdown stopped until user dosent click on game tab. I tried, Timer event, setInterval and MovieClip enterframe also, but the main problem is when user focus the other browser window then flash all functions goes stopped until dosen't come back..., Wt is the solution for this,
    Thanks for help in advance
    Amit Shakya

    Have you tried listening to the "deactivate" event?

  • How can I close a remote front panel by closing only the browser window?

    I control a remote front panel in a browser (from the client PC). If I don't use the 'close' - button in my program to end the remote front panel, but instead of this the 'x' of the browser window (in the right bottom corner), my program won't be close, it continues on the server. Do you know how to end a VI by closing only the browser windows?
    Thanks for any help!
    wolfe

    I found the examples. Thanks.
    But I could not find a solution yet. Now I know how to end a VI by clicking on the x of the VIwindow.
    My problem is, to end a VI by clicking on the x of the BROWSER window after I loaded and controlled a remote panel VI in a browser (e.g. IE).
    If you have any ideas ... I'd be happy.
    Thanks for your help.

Maybe you are looking for

  • CAD Desktop Queries

    Hi All, Currently we are using CAD desktop alongwith DMS. We need to replace a selected component in the document based structure with a new component. We are trying to use the copy and replace option in the CAD view, but the new component selected i

  • How do I Delete DAQmx Channels

    I am pretty much a novice to LabVIEW, and many of you may see this as a very easy question, but how do i remove DAQmx channels (If this is the correct term, or is it tasks?). I have been playing about, and seem to have a few redundant channels and wi

  • Classpath for remote client

    Hi, Is there a minimum package of classes (.jar, .zip) that are required for remote client application to call EJBs in WL 5.1 container ? My remote application works fine if I include WL_HOME/classes in its classpath. The problem is that WL_HOME/clas

  • Mail gave error message, failure to move e-mail to trash can.  Mail has frozen and will not quit and is stopping a machine shutdown.  Problem persisted even after power was trend off for a minute.

    Mail gave error message, failure to move e-mail to trash can.  Mail has frozen and will not quit and is stopping a machine shutdown.  Problem persisted even after power was trend off for a minute.Iideas please

  • Reactivation frustrations

    Creative cloud apps can be quite frustrating to use. Two days ago, Photoshop would not open to accept a file from Lightroom. It developed that Photoshop was again asking me to license the software. This seems to happen at inconvenient times. (On the