How can destroy Java Plug - in when i jump to another page without Applet

When I jump to another HTML page, that not include <Applet> </Applet> tag, the Java Plug-in does not exit and use system's resource. I don't want it make my computer run slow then I want sutdown the Java Plug-in when I stop the page, that have an Applet.

Hi dekassequi:
Sorry if I misunderstood the problem......I've never tried swing set because it requires the JVM plugin. All my applets are non-swing and I've noticed that frequently when I exited the browser, it would be stuck in a never-never land requiring ALT-CTRL-DEL to end the browser's task. By overriding the destroy a the call to system.exit seems to have solved my problem -- if there is any error message in the system console, it is not noticeable because it disappeared instantenousely when the browser's own JVM is used.... Besides, destroy is the last thing an applet does anyway....without looking at Java source code, I can only surmise that that's what it does
As a matter of fact, I've just tried to write some stupid swing applet but I've noticed that one cannot really script an applet that requires a Sun JVM. Here is a link, perhaps you can take a quick look and see if I'm doing something wrong.
http://home.attbi.com/~aokabc/test/test2.htm
BTW, I did notice late last night that overriding the destroy method in an applet that requires a JVM plugin does give an error message in the system console which takes a bit longer to close but you know what, at least it got rid of the console afterward -- otherwise, the console just sit in the tray and ALT-CTRL-DEL can't even get rid of it. In the mean time, I'll simply remove the system.exist(0) and leave a skeleton destroy method and see if the JVM console still sit in the system tray.
Regards,
V.V.

Similar Messages

  • How can I keep the formatting when converting from Word to pages?

    How can I keep the formatting when converting from Word to pages?

    Use only formatting that is supported (in the same manner) in both applications. You'll need to find which that is through trial and error. Beyond those formatting options, you'll need to do some corrections, as Fruhulda suggests.
    Regards,
    Barry

  • When I open new tab, it will go onto new tab then jump to another page without me touching it.

    When I open a new tab, it will be the new tab page, the one with the most viewed sites for 2 seconds. Then, it will suddenly change to another site without me doing anything. It isnt just one tab, its all tabs. please help me just get onto the most viewed.

    Hi Pancakeater,
    What kind of site is opened after 2 seconds? Does it look like advertisement? It could be that your Firefox installation has been hijacked. Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problem? Please report back to us, and help others with the same issue.

  • How can I download a podcast when visiting the podcast's page crashes iTunes?

    Several of my favorite podcasts (including The Nerdist, to name the most popular example) are no longer accessible through iTunes on my iPod.  When I go to download new episodes, the "free" buttons only have text (the backround button image is missing) and the page doesn't respond to taps.  Eventually (after 2-5 minutes), iTunes crashes.  This started happening when I upgraded iOS to version 5.1.1 (9B206).
    Does anybody else have a similar problem?

    I've had the same exact issue on my iPhone 4 with iOS 5.1.0.
    I tried downloading The Nerdist with Tina Fey this morning, and I got the unresponsive iTunes.  I could still scroll up and down, but the "FREE" buttons weren't fully formed.  Couldn't click them.

  • How to prevent java.io.exception when someone enters a bogus page in theURL

    Say i have a page called Test.jsp. The user goes to it and everything is fine. If the user happens to play with the url and changes it to Tes.jsp, i get java.io.exception. Is there anyway to catch this?
    This is my error:
    JSP Error:
    Request URI:/page/Tes.jsp
    Exception:
    java.io.FileNotFoundException: page/Tes.jsp
         at java.io.FileInputStream.(FileInputStream.java)
         at oracle.jsp.provider.JspFilesystemResource.fromStream(JspFilesystemResource.java)
         at oracle.jsp.provider.JspFilesystemResource.fromReader(JspFilesystemResource.java)
         at oracle.jsp.app.JspAppLoader.reloadPage(JspAppLoader.java)
         at oracle.jsp.app.JspAppLoader.loadPage(JspAppLoader.java)
         at oracle.jsp.app.JspAppLoader.getPage(JspAppLoader.java)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
         at oracle.jsp.JspServlet.internalService(JspServlet.java)
         at oracle.jsp.JspServlet.service(JspServlet.java)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
         at org.apache.jserv.JServConnection.run(JServConnection.java:188)
         at java.lang.Thread.run(Thread.java)
    Thanks in advance
    Adam

    Most JSP servers have a configuration option to serve
    up an error page in situations like this. Yours
    probably does too.Once you find that, make it your error page with a page directive of isErrorPage="true". Then you have access to the implicit exception variable name to determine if it is really a 404 exception.

  • How can i take a full screen shot of a web page without using paparazzi?

    I would like to take a full screen shot of a web page but scroll down to the page as well. i have downloaded paparazzi which seemed to be recommanded but I am not satisfied with what it does any other suggestion to get a clear picture of the page???

    Hi Keith,
    It doesn't have to be a movie.  Snagit, for example can capture the complete browser window as an image which you can then save as a png, jpg, tiff, gif, bmp or snagit document.  That's what I thought the OP wanted so I didn't suggest the built in screen captures.
    Take care,
    ivan
    (To Philo9, I saved this with 80% quality, so it's not the best.  You can save as full quality, png or tiff to get better than this. Click on it to see it full size.)

  • My iphone 5 was stolen today, I had it backed up last week, can I restart this back up on my other i phone which is i phone4? how can I do that as when I plugged my iphone 4 it backed up automatically

    My iphone 5 was stolen today, I had it backed up last week, can I restart this back up on my other i phone which is i phone4? how can I do that because when I plugged my iphone 4 to my laptop it backed up automatically and I can't seem to find the older back up or maybe I don't know where to find it?

    iTunes preferences>Devices>Should see the seperate backups there

  • How to catch java.io.FileNotFoundException when user enters a.jsp which is not a vali

    How to catch java.io.FileNotFoundException when a user enters a bogus jsp page. For example. I have a page called login.jsp. If a user enters log.jsp, the entire path is show and i get java.io.FileNotFoundException. This should not happen. This only happened since I upgraded to 9iAS. I tried send_error=true in zone.properties like i did when i was just using oracle http that came with database and it doesnt work. How are all you guys catching this?? I cant find any documentation. They say send_error=true will work, but IT DOESNT.
    Thanks for your time

    Hi Adam,
    I am also facing the same problem of the java.io.FIleNotFOundException in the browser display when i am giving a wrong file path in the Url. you have mentioned that you have solved it when you were using Orcale 8i Http Server, can you please guide me for that( as we are also using Oracle 8i) I checked with putting send_error=true in zone.properties file but that is not working. What exctly you have done to get rid of that error message. I am using Windows Nt platform.
    Thanks and Regards.
    Arnab

  • How can i handle with event, when i close a file (notped or word,excel..)??

    How can i handle with event, when i close a file (notped or excel...). i want do something..
    Edited by: Legy on Apr 21, 2008 11:45 PM

    of course notepad.exe is closed again as soon as the operating system has completed the process of loading its content into memory...
    And no "event" is fired when that happens, except maybe internal to the process that loaded the application to indicate that it's been loaded successfully and can now be executed.
    But there's no way your Java process is ever going to receive that notification.

  • HT201371 How can I remove touch ID when the handset is turned off?

    How can I remove touch ID when the handset is turned off?

    Off it off. The only thing you can do when the phone is off is turn it on either by plugging it into power or by pressing the power button...
    Please rephrase the question.

  • How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word.

    How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word in the document. I am teacher. So for example when a student came to word he/she did not know, if he/she hovered the cursor over the word, a defintion or other information would appear.  You can do this in Word using bookmarks/hyperlinks but I can't figure this out in Pages. I can link it to another point in my Pages document but I just need the text to pop up - not take the reader to another location.  THANK YOU!!!!!!

    Have you tried Word for Mac?
    You will need to test if links survive export or printing to .pdf
    Peter

  • Hey, I'm trying to install Adobe Flash on my Macbook Air. At a certain point it asks for my password but it doesn't take it. So I cannot continue installment. I have reset my password already. Still the same problem. How can I continue to install when it

    Hey, I'm trying to install Adobe Flash on my Macbook Air. At a certain point it asks for my password but it doesn't take it. So I cannot continue installment. I have reset my password already. Still the same problem. How can I continue to install when it keeps asking for a password it doesn't recognize over and over again? How many times do I have to reset it then? Advice please

    You have to provide your computer's administrator password in order to install Flash Player.

  • How can I make signature darker when I print the report?

    I need to put my manager's signature on the report. The signature is too light, How can I make it darker when I print the report?
    I used file link and OLE, both did't make it.
    Thanks.

    No way to do it directly in the report. You need to work with signature image file using any graphic software to increase its contrast. The easiest probably would be to use Paintbrush and change the image to black-and-white, then save back as jpeg file.

  • I am trying to manage family sharing and I get a warning "invalid apple ID" that accounts can participate in one Family at a time.  How can I add my daughter when I can't even access my account?

    I am trying to manage family sharing and I get a warning "invalid apple ID"  accounts can participate in one Family at a time.  How can I add my daughter when I can't even access my account?

    Your best bet would be to try resetting the password to the account that you would like to use via iForgot
    Once you log in to that account change the email address to anything, it can even be fake its just a placeholder
    After you do that you will be free to change your old email address on your appleID to the new one that is now free to be used as it is no longer attached to the other account.

  • How can we get ADFSecurity work when used in OC4J, OID and OAM?

    I am getting error in http server log "mod_oc4j: Response status=499 and reason=Oracle SSO, but failed to get mod_osso global context."
    But I am not using Oracle SSO and my client doesn't want to use it either, I am using OAM SSO(CoreIDSSO) in my configuration. Please read the details below.
    I am using ADFSecurity in an app that is protected by OAM. To migrate ADFSecurity permissions from
    system-jazn-data.xml to OID, I used JAZNMigrationTool to populate OID with Grantees and Permissions. OAM gives login page, and authentication works fine.
    But ADFSecurity is not working. ADFComponent Delete button is enabled even for roles that dont have permissions for the iterator delete.
    - The app works fine when I use without OAM. ADF Security permissions work fine.
    - The app works fine when used with OAM, but with ADFSecurity disabled (enforce=false).
    - When I enforce ADFSecurity alongwith OAM, ADFSecurity is not working.
    In the doc "Oracle Containers for J2EE Security Guide b28957", there is a mention of use of CoreIDPrincipal for permissions. Our OID Permissions entries show
    LDAPRealmRole for attribute orcljaznprincipal. I am not sure if this could be the reason.
    We have configured AccessServerSDK for the SOA instance and have policy for the urls in the policy manager. We have entries in orion-application.xml, orion-web.xml and system-jazn-data.xml as per the documentations.
    How can we get ADFSecurity work when used with OID and OAM?

    Have you been able to successfully integrate OAS with OAM & OID? We have similar requriement and so far we have not been able to get it working.
    We have application specific roles which we map to OID roles using orion-application.xml.
    Any pointers to achieve this would be greatly appreciated.
    thanks,
    Dipal

Maybe you are looking for

  • No sound on my lenovo 3000 j115

    Ok, so I had Vista up until yesterday when I reformatted my computer and loaded XP on it. Everything is working fine except now I have no sound. There is no volume icon in the task bar and in the "Sounds and Audio Devices" it says "No Audio Device."

  • How can I use an USB contacted SC-Card at the time capsule via my iPad!

    I have a camera memory card with an USB-connector. In my holidays I want to store the pictures from the card to the time capsule. I want to use the ipad for remote access to the timecapsule. The pictures from the card should be stored at the TC. Is t

  • Is there a limit to the number of copies you can make at one time.

    I was in the process of making 20 copies of my video, I manage to get 8 copies when my computer said it had to turn off due to an error.  Now I am unable to make copies because that same message keeps appearing.

  • I would like more than 10 recent items.

    File > Open Recent Files> has 10 items in it, max. I would like to make this perhaps 20. Can't find a dialog in prefs. Illustrator CS 4 Mac, OS 10.5. Is there any way to do this? (Can't upgrade this PPC machine to CS5.)

  • RFQ Output determination

    Hi, I want to know how can I configure the output determination for RFQ for mails to be sent when we save a RFQ. Regards, Sachin