Can we show the applet in a pop-up box

Two questions:
1. Closing the applet:
In my applet, I want to enable the user to enter new text. There is a button that once pressed should cause the Aplet to disappear!! I call stop() on the applet once the button is pressed in ActionPerformed(after doing some checking) but the browser screen with Applet stays on the screen.
2. I would like to open the applet in a box in the middle of the screen instead of it opening in the browser widnow (replacing what was there). Can I do that? and I would want the pop up to disappear once I am done!
Thanks a lot
merdaad

Your Applet is embedded in the web page and the only way I know of to make it disappear is to move to another page.
One workaround would be to make the Appet invisible - set it to 0 x 0 or to the same background colour as the HTML background. From your Applet pop up a new Dialog containing the necessary field buttons etc which you can dispose of when a button is clicked.
Or, why not pop up your Applet in a new browser window with no toolbars, menus, address bars etc. Set the new window margins to 0 all round and set the window to appear in the centre of the screen and to be the same size as your Applet and your Applet. will look like it running in its own window rather than IE . You can do this with a bit of javascript on your main HTML page. Search on google for lots of examples. To close this on a button click you can maybe use some Java - Javascript communication. Search these forums for some examples.
A couple of ideas that should get you started.

Similar Messages

  • How can I show the chart in forms?

    Dear all:
    I want to create a line chart. I use the chart wizard and it is successful to create the chart. But, it can't show the chart when I run the form. How can I show the chart in form6i?
    Besides, I see a document that refer to 'OG.pll'.
    I can't find the OG.pll in form6i. Do I need 'OG.pll' to show the chart when I run the form? Thank you very much!!

    Hi Carlos,
    You can try to create a code node for check which signature to print.
    In global variable declare a variable ie named g_sign type TDOBNAME.
    Then pass this var to name of graphics &g_sign&
    please check and reply.
    regards,

  • TS1717 since updating itunes yesterday I now can't open it and get a pop up box about the procedure entry point not being located. anyone able to help?

    since updating itunes yesterday I now can't open it and get a pop up box about the procedure entry point not being located. anyone able to help?
    these are the boxes that open up:
    I am unsure as to wether I need to unistall and start again but then worry about the vast amount of songs already in the folder that I would have to reload.

    anyone able to help me with the above?

  • Can LR show the numbers in Quick developement panel?

    Try to use quick development panel, it is easy to use but for exposure, clarity and vibrance you cannot see how many stops you have adjusted.
    Can LR show the numbers in Quick development panel?
    Any comment?

    >tt688 - 6:49am Sep 23, 08 PST (#2 of 6)
    >I think that Quick Deve function is useless if you can not see the how >many stops you have adjusted.
    When LR first came out I did not "get" the Quick Dev function. Luminous Landscape have an excellent video tutorial for LR by Michael Reichmann and Jeff Schewe.
    It explains that the QD function is there to allow you to make quick visual adjustments to images to assist in choosing picks / rejects and generally culling a shoot. Until you have the exposure / contrast / colour balance somewhere near correct, it is difficult to properly evaluate a shot. Using QD like this then makes sense, it's not supposed to duplicate or take the place of the develop module.
    Note that the adjustments you make in QD are relative, that is if you select a group of generally underexposed shots and increase the exposure the amount will be relative to each shots original exposure level.

  • How can i show the first item in the list as selected item

    Aslam o Alikum (Hi)
    Dear All
    How can i show the first item in the list as selected item when user click on the list. Right now when user click the list the list shows the last item in the list as selected or highlighted. Furthermore if the list item have large no of value and a scroll bar along with it then the list scroll to last item when user click it with mouse. I want that when user click the list item with mouse list should show the first item as highlighted.
    Take Care
    Allah Hafiz

    Hi!
    You can set list "initial value" using When-Create-Record trigger.
    I.g.
    :<Block_name>.<list_item_name> := Get_List_Element_Value('<Block_name>.<list_item_name>', 1);

  • How can I show the photos of the person that im calling? now that im using IOS 7 when i want to call someone the photo /imagine does not appear , how can i fix it? iPhone 5, iOS 7

    how can I show the photos of the person that im calling? now that im using IOS 7 when i want to call someone the photo /imagine does not appear , how can i fix it?
    iPhone 5, iOS 7

    jlfcba wrote:
    IOS 7.1.1 doesn't show a "days to sync" parameter anywhere in SETTINGS/Mail,Contacts,Calendars/ACCOUNTS/GMAIL Account/ GMAIL Acccount Info.  There is nothing in iTunes relating to such an option either.  So, it seems I'm back to square one.
    If you have a decent mail provider like Microsoft Hotmail or Outlook.com mail it does.
    If you have Gmail it does not.  Quite right. Gmail is rubbish.

  • How can I stop the constant and repeated pop-up to sign-in to iTunes?

    How can I stop the constant and repeated pop-up to sign-in to iTunes?

    You might have an app or iTunes purchase that belongs to a different Apple ID.  Look very carefully at the popup and make sure it is referenceing your correct Apple ID.

  • How can i hnow the applet had load complet by javascript?

    hi,how can i hnow the applet had load complet by javascript?
    my applet load by <object> tag,
    i add a "onload" event listener to the html page's <body> tag,but the event listener is call by the page load,
    but ,the applet sometime has not loaded complet,so how can i know the applet had loaded complet!
    the <OBJECT>has some method to check the applet load status??
    3KS!

    You can have your applet call some javascript to inform that it is loaded. Make the call from your
    applet's start method
    Suppose you have a javascript function called "appletReady()"
    which sets a ready variable to true or whatever.
    Now in your start method of your applet you can do the following:
           JSObject win = null;
            try
                win = (JSObject)JSObject.getWindow((Applet)this);
                if (win == null)
                    System.err.println("JSObject window was null");
                else
                        win.call("appletReady",null);
            catch (Exception jse)
                System.err.println("Exception: " + jse);
            }Make sure you import netscape.javascript.
    And when you compile use the appropriate jaws.jar in your classpath
    It should be found under jre/lib of your JDK installation.
    I hope this helps.

  • A login webpage gives the message "This script requires that jquery.js be loaded first." then will not show the user ID and password login boxes. How can this be corrected?

    A login webpage gives the message "This script requires that jquery.js be loaded first." then will not show the user ID and password login boxes. How can this be corrected?

    That message is listed in two scripts on the bank's site. One function that can display the message is named PhotoRotator and the other is named PromoRotator. However, I can't seem to trigger the error myself.
    If you have any add-ons that alter the page, such as ad blockers, try creating an exception for these sites and see whether that helps:
    www.northrim.com<br>
    www.northrimbankonline.com
    You also could try this logon page: https://www.northrimbankonline.com/onlineserv/HB/Signon.cgi
    (''Obviously you should be cautious about links offered on public forums to ensure you are not being phished! Check them out carefully before entering your username and password.'')

  • Web publishing tool, I can't show the panel in embedded mode.

    I don't know what happen but I have try every thing and still without the possibility to make a preview of my VI in the "web publishing tool" and also can't show the panel in embedded mode.
    I can see the preview in the browser but it remain forever "downloading panel" and nothing more else happen.
    Please help me because I don't find any explanation to this problem in Google.
    Additional information:
    1) I am using Labview professional development system 8.2 under Windows XP SP3 (it was the same under SP2), also in vista ultimate.
    2) In the attachment I show that I'm using Mozilla Firefox but is the same problem under IE.

    I don't think the preview ever shown an image.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • JEditorPane can not display the applet contained in a html

    We know that class JEditorPane can be used to display Html pages. but it has limitation. When a Html page contains Applet, it can not display the applet! Does anyone know if there's any solution for this problem?

    Hi, i do the 'CREATE_TEXT', after the PO created,   the PO created correctly except the Long Text.
    THE CODE:
    *********************1*********************
        CALL FUNCTION 'BAPI_PRODORD_CREATE'
          EXPORTING
            orderdata    = wa_po
          IMPORTING
            return       = rt
            order_number = aufnr
            order_type   = otype.
    Then i got a AUFNR,
    **********************2**********************
    CONCATENATE sy-mandt aufnr INTO t_name.
          CALL FUNCTION 'CREATE_TEXT'
            EXPORTING
              fid         = 'KOPF'
              flanguage   = 'E'
              fname       = t_name
              fobject     = 'AUFK'
              save_direct = 'X'
              fformat     = '*'
            TABLES
              flines      = it_text
            EXCEPTIONS
              no_init     = 1
              no_save     = 2
              OTHERS      = 3.
    and SY-SUBRC is 0.
    the long text also generated, but can not displayed on the CO03

  • I am a Taiwanese. My iPod nano can not show the lyrics

    My iPod nan can not show the lyrics.It will be like"ifhfjdghuiadhghjkbdbdjkbdgdnkjn589d567g564h54df+.......................... "
    Why?
    How to solve it?

    Right->click on these tracks in iTunes and choose Get Info.  Then head to Lyrics tab.  Are the correct lyrics listed there?
    B-rock

  • Jsp include can not show the full page

    When i use jsp to include other jsp which have around 1000 lines. the included jsu can only show the last 500 lines. how can i solve lt?

    Having JSPs of this size is very bad practice. You should design your solution so as to avoid this at all costs.
    There is an upper size limit on JSPs which you may be running into here, check the JSP spec but it's something like 64k
    Regards,
    Gareth
    (PDK team)

  • Why My iPad 3 iOS 6 apps stores can't show the iPhone apps

    Why My iPad 3 iOS 6 apps stores can't show the iPhone apps..

    Devices connecting to the app store are detected and the appropriate apps are shown for the device...for example, a Mac OS X computer will only display the Mac App Store apps, an iPhone will only display the apps that will work on the iPhone, an iPad will only display the apps that will work on the iPad, and in this case there are apps that work on both the iPad and iPhone so those apps are displayed but not the iPhone-only apps.

  • Re-show the FPGA Successful Compile Report dialog box

    Hi, everyone,
    Could anyone tell me how to re-show the FPGA Successful Compile Report dialog box?
    I clicked the check box "do not show this massage in the future" on the dialog
    It won't show up anymore
    I need to know the accurate onboard clock rates on my FPGA.
    so the "Target specific properties" can not satisfied me...
    Is there anyone know how to solve this question? ~~Thank you

    To reenable the compile report you must modify LabVIEW's INI file. Make sure the line nirviShowCompileReport=TRUE exists in the ini file. Let us know how that works out!
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

Maybe you are looking for

  • My MacBook Pro will suddenly quit while I'm working on it and restarts itself.

    I have a 2012 MacBook Pro running OSX 10.8.2 Mountain Lion with a 27-inch Apple Cinema Display connected to it that I use at work. I am an art director so I am constantly in Adobe Creative Suite 6. In the past month my MacBook Pro has suddenly quit o

  • Why do I get "Internal Error (-5002) occurred" when doing external recon via SDK ?

    I can reconcile an invoice and matching incoming payment as below: Table OJDT is: BatchNum TransId BtfStatus TransType BaseRef RefDate Memo Ref1 Ref2 CreatedBy LocTotal FcTotal SysTotal TransCode OrignCurr TransRate BtfLine TransCurr Project DueDate

  • Annoying bug: Recurring events ends one day to soon

    Hi! My calendar is stored in an Microsoft Exchange account on Office365. In order to make it available to my wife, I publish it using the iCalendar format (ICS). However, with iCalendar all recurring events ends one day short. An event recurring thre

  • Thread text from Excel

    I have a 300+ pages document, and want to add a quote to each page. I have all the quotes in an excel document. Is there any way I can have inDesign to take the cell change as a page break so that text from each Excel cell falls into linked text boxe

  • Drop Down menu for navigation bar

    I created a site a couple years ago (with GoLive) with a navigation bar with rollover states. I would like to create something very similar to it now in Dreamweaver CS3 but with the addition of a drop down menu for just a couple of the navigation ico