How to get applet to behave like in IE

Hi,
Right now IE and Netscape do not behave identically when users leave the HTML page containing the applet. IE destroys the applet completely (calls methods stop() and destroy()) while Netscape only stops the applet (by calling stop()). I would like my applet to behave the way it does in IE in any browser. So when the user leaves the page, the applet is destroyed in Netscape and IE. Does anyone know what is the best way this can be done? Would calling the destroy() method from within the stop() method work? But then, the browser might attempt to call the destroy() method after stop() and the applet won't exist by then. Thanks in advance.

DISCLAIMER: I am new at this, but can't you check what browser you are in. I realize that you may have to do some validation on a variety of browser (most of which are free). I thought that most of the browser related information was available. I know it is in javascript, but I thought I came acrossed in Java as well. I realize this is not your industry answer, but it seems like the way a lot of web sites are written.

Similar Messages

  • My sister has the latest iphone 4 update and so do I. She has this feature that is like a shortcut on her screen at all times and I was wondering how I get it? Its like a square thats faded with a white circle around it?

    My sister has the latest iphone 4 update and so do I. She has this feature that is like a shortcut on her screen at all times and I was wondering how I get it? Its like a square thats faded with a white circle around it?

    Whereabouts on her screen at all times? What does it do?

  • How to get applets running with Java Plug-in on Win but also on Mac OS X???

    I've converted to the use of Java Plug-in for my applets, but I need to have those same applets executable from browsers on Mac OS X platform. Surely this has been done, but I don't see how. The browsers I've tried on Mac OS X (Netscape, IE) don't seem to recognize the <OBJECT> tag used for the java plug-in. I've seen no news about the Java plug-in being ported to Macs. How can one get the same applet to run with the Java plug-in on Windows browsers, and also to run with at least one of the common browsers on Mac OS X? Any help would be SO much appreciated!

    Those ten dukes look good to me. But the passing of fifteen months has me thinking you've probably moved on. In any case, here's my effort.
    I've been through a trial trying to get my applet, developed with 1.4.1_03, to run on my Mac OS X v.10.2.6 in multiple browsers. I'm posting my results here. Comments and feedback are welcome.
    JVM support for 1.4.1 is limited to the Safari browser. All other browsers running in Mac OS X that I've tried ( Camino, Opera, Internet Explorer, Mozilla ) are using the 1.3.1 plugin. According to a bug report by Mozilla on this topic ( see Bugzilla Bug # 197813 http://bugzilla.mozilla.org/show_bug.cgi?id=197813 )
    with the release of Apple's version of Sun's Java 1.4.1 the applet programming model has changed, and only Safari has adapted with this change. Other browsers, according to the report, could not because of a lack of documentation. The use of the MRJCarbon plugin offered by Mozilla (here - http://www.mozilla.org/oji/MRJPluginCarbon.html) only allows Mozilla to use the J 1.3.1. And I have not found any information on the Microsoft site about how to get IE 5.2 to recognize the newer version of Java.
    Regarding the use of the OBJECT tag in Safari, it is a matter of debate. A current post on this topic exists in the Applet Development forum:
    http://forum.java.sun.com/thread.jsp?forum=421&thread=441002
    In my experience, I have not been able to determine that Safari v1.0 recognizes the OBJECT tag. My experience is that the APPLET tag is required to run applets in Safari. The Bugzilla report echoes the problem with the BadMagicNumber error that can arise in Safari. Nonetheless, I enjoy Safari and I enjoy Mac OS X.

  • [SOLVED]How to get a kicker panel like this?

    I want my Arch/Chakra KDE to have a transparent kicker panel like http://pclinuxos.com/wp-content/uploads … minime.png I tried various permutation and combinations of existing themes i.e Air, Air Netbooks, Oxygen. Tried few themes like Glaze etc but none of them work. I don't want a complete transparent panel like in Bare Naked Theme(which does not work/come in KDE 4.4.2 BTW) but like shown in the above image with slight white hue but not more. Perfect as in the image. Does anyone know how to get it?
    Last edited by chakra-user (2010-04-23 06:14:28)

    toxygen wrote:
    look for the naked plasma theme, or the bare naked theme (this is for kde 4.x).  you can do it through settings ->aapearance -> style -> workspace and change the theme there (or get new theme and search for naked).
    or you can go to http://kde-look.org and search there for plasma theme
    Like I mentioned above, * Naked theme is not available for 4.4.2 becoz I could not download it via the built in kde theme manager maybe it is in compatible. Is there a way to remove those ugly round shapes from AIR theme. modify .svg of air how?

  • Need info on how to get the little pictures like Adobe website has next to the title of the page??

    I know how to enter title text but i need to know how to get an image next to the title of the page please help??

    http://alt-web.com/favicons.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • How to get applet to load text file and use it

    The applet is loaded from my site and the short text file is updated by a perl script in my cgi-bin, which is called whenever someone loads the html that loads my applet.
    The text file is just a counter string and I'd like to use it to display #.gif's at a certain place on the applet window (no problem there if I can get the text file into the applet).
    How would I get the applet to load the text file into a string or array?
    It has a running thread and I'd like it to update it periodically.

    I believe you can do that with Class.getResourceAsStream.
    Or you can do it explicitly with java.net.* stuff.

  • Getting xterm to behave like Terminal?

    Hi,
    The Terminal.app does just about everything I need, but I've noticed since installing 10.6 that occasionally (and sporadically), it steadfastly refuses to paste text that I've just copied from Safari (or from any other application for that matter). I don't know why this happens, and I can't seem to force it to happen. It just does, occasionally.
    So I've started using xterm to do stuff like text files and stuff, launching it from bin/launchterms..
    +xterm -fn 10x20 -sb -sl 1500 -vb -bg black -fg green -title terminal &+
    This is fine, as I have a Sun three-button mouse anyway, so copying and pasting not only works, but is a lot easier.
    There are a few issues, though, that I can't find how to configure. For one, I'd like to stop the visual bell from flashing the screen. The -vb switch doesn't seem to achieve this.
    Second, is there any way to get my numeric keypad to send digits, instead of control sequences?
    Third, can I stop ^d from closing the window? I often run ssh sessions into multiple servers, and if I do one ^d too much when I'm logging out, I lose my window.
    Thanks.

    I don't have a NumLock key. It's an 'old' Mac keyboard, the white, tilted ones that they used to sell around the time of the iBook.
    Hang on.......
    fiddles
    Ah, yes. The little square with the cross through it. Sorted, many thanks!
    Now to check the other responses. Thanks again!

  • How to make N-components behaving like one

    Hello, I am new to this forum so if I do something wrong dont kill me.
    Describing the problem:
    The following BIG letters are numbers/amounts!!
    1.Imagine you have N JtextPane's ordered in one verical line.
    2.The heigth of each one is only so big that only M lines of text fit in/is visible. -the row limitation of a jtextpane is also a problem(any ideas).
    3.The width of the jtextpane is for example 20 signs.
    4.The Behaving: imagine you start writing a text into the Jtextpane K.
    In the moment you reach the end of this jTextPane(with the end is ment the M line and this whole line is full = 20 signs) the cursor(or the caret) jumps into the K+1 jtextpane and so on.
    5.It sould also work backwards. If the lenght of the JTextpane K is equal to zero the Cursor jumps to the K-1 Jtextpane.
    6.the movements with arrow keys (specially up and down) in this "ONE" big component should also work .
    7.My stuff:
    I tried to do the row limitation of the textpane with a class that extends documentfilter(filterbypass) in the replace methods(it interesting that only this method is called whatever I write into the textpane) the insert method is never called, dont know why. I tried to solve this throught the
    filterbypass.getDocument.getText(start,end).split("\n");in the replace method to get how much rows I have, but it didnt worked because this here
    filterbypass.getDocument.getText(start,end) is always one event late or one written sign late. This means that if you reach for example the third row(which is your limit) it allows you to go into the fourth row and write one signs in this row what is not acceptable.
    The movements/writing - I tried it with keyevents and focusing but it didnt work out.
    So anyideas to these 2 problems.
    Just ideas HOW to do it not complete solutions, but also these would be helpful(examples)

    For limiting the size to M rows, you might want to use Document.getRootElements() and then if you have M elements, check if the number of elements in element # M is 20.

  • How to get ddls from sqlplus like that of TOAD

    Hi,
    I have to work on a terminal machine for a client where the TOAD is not installed. For my regular DBA activities I need to take the DDL many times.
    I am very much used to the style of DDL scripts which TOAD 9.6.x.x gives for any object in a schema.
    Can someone suggest how I can I get exactly TOAD-like scripts (which provide not just the create statements)
    For e.g.
    *1.From sqlplus when I do*
    select dbms_metadata.get_ddl('TABLE','APE1_ACCUMULATORS') from dual;
    I get only the below
    CREATE TABLE XLTDBO92.APE1_ACCUMULATORS
    CYCLE_CODE NUMBER(4) CONSTRAINT APE1ACCU_CYCLE_CODE_NN NOT NULL,
    CYCLE_INSTANCE NUMBER(2) CONSTRAINT APE1ACCU_CYCLE_INSTANCE_NN NOT NULL,
    CUSTOMER_SEGMENT NUMBER(4) CONSTRAINT APE1ACCU_CUSTOMER_SEGMENT_NN NOT NULL,
    CUSTOMER_ID NUMBER(9) CONSTRAINT APE1ACCU_CUSTOMER_ID_NN NOT NULL,
    ACCUM_TYPE_ID NUMBER(9) CONSTRAINT APE1ACCU_ACCUM_TYPE_ID_NN NOT NULL,
    OWNER_ID
    *2.But from TOAD 9.6.x.x when i click on "create scripts" I will get*
    DROP TABLE XLTDBO92.APE1_ACCUMULATORS CASCADE CONSTRAINTS;
    CREATE TABLE XLTDBO92.APE1_ACCUMULATORS
    CYCLE_CODE NUMBER(4) CONSTRAINT APE1ACCU_CYCLE_CODE_NN NOT NULL,
    CYCLE_INSTANCE NUMBER(2) CONSTRAINT APE1ACCU_CYCLE_INSTANCE_NN NOT NULL,
    CUSTOMER_SEGMENT NUMBER(4) CONSTRAINT APE1ACCU_CUSTOMER_SEGMENT_NN NOT NULL,
    CUSTOMER_ID NUMBER(9) CONSTRAINT APE1ACCU_CUSTOMER_ID_NN NOT NULL,
    ACCUM_TYPE_ID NUMBER(9) CONSTRAINT APE1ACCU_ACCUM_TYPE_ID_NN NOT NULL,
    OWNER_ID
    DROP SYNONYM XLTDB92.APE1_ACCUMULATORS;
    CREATE SYNONYM XLTDB92.APE1_ACCUMULATORS FOR XLTDBO92.APE1_ACCUMULATORS;
    GRANT DELETE, INSERT, SELECT, UPDATE ON XLTDBO92.APE1_ACCUMULATORS TO XLTDBO92_ALL;
    So my question is:
    How to such scripts from sqlplus as well ,irrespective of the type of the object?_
    Note:I am posting a new thread because my previous question was answered even though i was not able to type in completely. My mistake as it was posted in before i could finish the question.
    Regds,
    Kunwar

    If the DDL returned by dbms_metadata is not to your liking then write your own scrips to generate DDL or cover scripts to generate all related items that you want.
    In the case of synonyms and grants this is very easy using rdbms dictionary views, but if you generate a table's DDL you may also want and need the PK, UK, FK, secondary indexes, comments, and policies on the table as well as synonyms and grants. Everything that if you drop the tables goes away.
    There is a dbms_metaddata procedure get_dependent_ddl to generate dependend objects on a table that may be of interest.
    HTH -- Mark D Powell --

  • Regd: Popup Applet to behave like association applet

    Can we use popup applet to show record from a diffrent BC and use it like assocition applet to add record to parent applet.
    Requirment :
    In our implementaion ,we want to show list of contacts in popup applet ,which should be triggered from a newly added 3rd level child applet to Case ,when user clicks on Add Button (same as association applet triggers from Case Contact applet whilc clicking on Add Button)
    User should be able to select contact (more than one at a time) and contact should be added to this newly added 3rd level applet.On which popup applet will be based on
    Issue:
    1> I am not very much sure of using a popup applet to this requirment .Need clarification -can we use popup applet to this req ,If "Yes" .Can I add multiple record to parent from popup applet.
    2> I am able to get the popup applet ,on click of Add button .But It is not showing any record ?
    Please suggest the solution .

    DISCLAIMER: I am new at this, but can't you check what browser you are in. I realize that you may have to do some validation on a variety of browser (most of which are free). I thought that most of the browser related information was available. I know it is in javascript, but I thought I came acrossed in Java as well. I realize this is not your industry answer, but it seems like the way a lot of web sites are written.

  • How to get Applet size in my form ?

    I'm running Oracle forms 11g, I want to center my window use the code below :
      v_app_width := TO_NUMBER(GET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WIDTH));
      v_app_height := TO_NUMBER(GET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,HEIGHT));
      v_win_width := TO_NUMBER(GET_WINDOW_PROPERTY(p_window_name,WIDTH));
      v_win_height := TO_NUMBER(GET_WINDOW_PROPERTY(p_window_name,HEIGHT));
    -- message("width" ||v_app_width);
      SET_WINDOW_PROPERTY(p_window_name,POSITION,(v_app_width- v_win_width) / 2,(v_app_height - v_offset - v_win_height) / 2);This works for 6i but not working for 11g. As
    GET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WIDTH)returns 0.
    But once that message line is uncommented, the next form calling this center window procedure works fine.
    My problem is similar with this one : http://www.orafaq.com/forum/t/149809/2/ But it has no solution.
    I also found this : http://docs.oracle.com/cd/B14099_19/winitan.1012/relnotes.1012/relnotes/forms.htm
    5.1.4.1 GET_WINDOW_PROPERTY Returns 0 on Microsoft Windows
    GET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WINDOW_HANDLE) returns zero even with separateframe=true. Oracle Forms Online Help states that this should work on windows platform. This is incorrect as this Built-in does not support MDI. [Edited on 3/12 4:50pm] Today I found this code does work for my first form (login form) when the application launches. After login, the rest forms can be centered very well. Don't know what's the reason.
    So if this doesn't work, how could I get the applet size and center my window ?
    Edited by: frank1018 on Mar 12, 2013 4:53 PM

    If you want to center your window when MDI is maximized..
    first create timer.. under when-new-forms-intance..
    Declare
         timer_id   Timer ;
    Begin     
      timer_id := Create_Timer( 'laf_timer', 50, NO_REPEAT ) ;
    end ;use this in when time expired.. because it will not run this procedure in when-new-forms-instance or pre-form triggers..
    declare
         mh number;     rh number;     mw number;     rw number;
    begin     
                      If lower(Get_Application_Property( TIMER_NAME )) = 'laf_timer' Then
                             mh     :=     get_window_property(forms_mdi_window,height);
                        mw     :=     get_window_property(forms_mdi_window,width);
                        rh     :=     get_window_property('yourwindowname',height);
                        rw     :=     get_window_property('yourwindowname',width);     
                        set_window_property('yourwindowname',position,(mw/2)-(rw/2),0);  /* i make 0 for the value of Y.. for i liked it on the top but you can change it too */
              end if;
    end ;Edited by: ck on Mar 14, 2013 2:44 AM

  • How to Get Prints that Look like what I see on my Monitor

    I am giving CDs with Xmas card images for clients to take to their local printer and print their Xmas cards. But they are getting different results than what I saw on my monitor -- often much darker. Is there something I can do to be sure that what the lab prints is the same as the image I saw on my monitor???? I have a PowerMac G5 with a 17" monitor, which I calibrated with a Monaco colorometer....I am using Photoshop CS2.

    make sure to select the ICC profile, give your clients a list of prefered printers that do color adjustment in lab for a modest fee, I like delta quest imaging and Millers, Pro color is ok, and dont even think about white house custom color they dont know color from their A**. Use a standard Profile and Gamma with all your images for consistancy, you will want to send Great Mcbeth Color charts to the lab and have them tell you what color space they are printing in. Most labs I have seen seem to be printing in Adobe RGB 1998 but many still use Adobe SRGB which may be why alot of your images may apear more saturated contrasty and darker. Also low quality labs will not check their chemisty often so I have noticed problems especialy with the fujifilm 390 mini lab and lesser models where the chemistry varys in just 1 degree and all the images look way to magenta or way too cyan!
    also keep note on the type of paper they will be printing your photos on, fijifilm paper is not going to last as long, I have heard rumers that because it is thinner it is more suseptable to oxidation and eventual fading.
    Personaly I refuse to allow any of my clients to print anything themselfs because if they end up printing it at wallmart or taking it to proex ritzcamera or wolfcamera and messing it up they arn't going to know it was the labs fault they are going to assume it was your fault and thats your reputation on the line.

  • How will the applet tag behave for users without Java?

    I am considering using an applet I have created as a splash screen for my website. But I am worried that by doing this I will loose all the visitors that don't have Java. Is there a way I can have the splash screen detect whether or not the user has Java? If so, is there a way I can have the splash screen automatically forward the non-java users to the main page? Maybe I could put something between the <applet></applet> tags?
    �Caleb�

    That doesn't help. Had you read my post more carefully you would have better understood what I wanted. In any case, I have already figured out how to automatically forward the non-Java users to the main page. The only thing I worry about now is about the people who's computers crash whenever they try to run a Java applet.
    �Caleb�

  • How to get Excel to function like InfoPath with SharePoint libraries?

    When working with InfoPath, there is a way to promote fields from your form to a SharePoint Library so that when you submit the form, it submits the actual form and the metadata from the fields in the form to columns in the document library in SharePoint.
    Well, I'm trying to accomplish this with Excel, but am so used to doing it with InfoPath I'm running into a lot of walls. I've found an add-in that allows me to insert a table and publish/sync it to a library in SharePoint, so that data from that table is
    sent to the library.
    Trouble is, I need the spreadsheet to also be "submitted" to the library so I can send it to specific users  based on a workflow. So basically, I need metadata from the form to be sent to the library for the purpose of triggering the workflow so that
    it routes the spreadsheet to the correct user. But in order for it to route (or provide a link to the spreadsheet in the workflow email) the sheet, it also needs to get submitted to the library.
    So I'm trying to get InfoPath functionality out of this.

    Excel does not integrate with SharePoint like that.  Is there a reason you're dealing with entire spreadsheets instead of converting them to lists and/or using InfoPath for form purposes?
    SharePoint Architect || Microsoft MVP ||
    My Blog
    Planet Technologies ||
    SharePoint Task Force
    Actually, it does. You can promote fields from Excel, InfoPath, etc. to SharePoint and use them to do exactly what I was looking to do above. I actually did this for a huge project and it worked.
    And yes, the Excel spreadsheets have an addin that is required for the business process on the client side.

  • How to get iphoto upload automatically like picasa

    I want iphoto to recognize the pictures automatically like what Picasa does when putting the pictures together in a file or whatsoever. Is that doable?  It is annoying to actually import the pictures when opening iphoto rather than letting it be automatically done just like Picasa does.
    Let me know thanks!!
    Crystar16

    It doesn't do that. You can set up a watched folder system with Folder Actions and Automator or Apple Script.
    Regards
    TD

Maybe you are looking for