Closing the applet window

how to close the applet window using a button on the applet

ravindra.alld wrote:
how to close the applet window using a button on the appletIs your applet in a web browser? If so the only way to hide visibility of the applet would be through javascript and css. So you would need an html button outside the applet to do this.

Similar Messages

  • Using separate_frame=true and trying to close the applet window after...

    We are using separate_frame=true and trying to close the applet window (the one with the large gray box) after using the following post-form trigger:
    if :system.last_form = 0 then     
         message('Please wait while Forms closes - '||:system.last_form);     
         web.show_document('/forms/html/close.htm','_self');     
    end if;
    This works fine for the first form we open, but if that same form using Open_Form to open a child form we have a problem. When the child form is closed the user is returned to the parent calling form (which is expected), but then when the parent form is closed the separate applet window fails to close. Any suggestions?

    I guess you mis-interpreted the value of :SYSTEM.LAST_FORM. From the online-help:
    SYSTEM.LAST_FORM represents the form document ID of the previous form in a multi-form application, where multiple forms have been invoked using OPEN_FORM.So LAST_FORM shows always the ID of the last activated form, and this will never be 0 if you issued one OPEN_FORM in your application.

  • Open URL in a new window by closing the parent window

    Hi Friends,
    Is there any option to open URL in a new window by closing the parent window on a button click?
    Already implemented the logics suggested in /people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications , the thread ' URL in same window '  and the standard component WDR_TEST_EXIT_PLUG .But button is not triggerring any actions .plz help me  ..............
    Regards,
    Radhika

    hi,
    Do the following steps :
    -> Make an Outbound Plug to the Window.
    ->Make the type of Outbound plug to Exit Type.
    ->Add URL of type String as a parameter to the outbound plug of Window.
    ->Do remember to add Component Name in the Properties Tab of View ( othervs Calling Outbound plug of window from view wont b possible ).
    To open a new URL with closing the previous one write this Code in OnAction of Button : ( this Code can be get from Code Wizard too ).
    DATA lo_zexit TYPE REF TO ig_zexit .   <zexit is name of my Component>
    lo_zexit =   wd_this->get_zexit_ctr( ).
      lo_zexit->fire_out_window_plg(
        url =   'http://www.google.com'                            " string
    I hope it helps.
    Thanx.

  • Many times it happens that even I had closed the application window i had to manually  quit the application by going in 'forced quit'..any solution .. :(

     many times it happnes that even I had closed the application window  it keep running  on backend and I have to manualy close it again by going in  'forced quit'.. any solution.... 

    Closing the window doesn't quit the application on Mac like it does in Windows. You have to select Quit (Program Name) from the top menu or use the keyboard shortcut Command + Q

  • A second browser window will not open and then closing the 1st window firefox will restart. Taskmgr shows it still running, it will not restart until I end the process in taskmgr.

    I open the browser and close it every thing is fine. I open the browser and then attempt to open a second browser window, it will not open. Now because I've attempted to open a second browser window firefox will not restart after closing the open window. Until I've shut it down in the taskmgr. This just started the other day and I have removed the only update I made that was "flash" and I removed the 64 bit version of firefox.

    Win 7 with iTunes installed - I was also having problems with that.
    "netsh winsock reset" at the command prompt resolved all issues and Firefox launched normally.
    Check to see if Winsock is corrupted. May prevent FF from communicating with the web and consequently fails to launch properly - for my situation was not a firewall or antivirus block!
    http://support.microsoft.com/kb/936211#LetMeFixItMyselfAlways
    Click Start, and in Start Search, type cmd.
    Right-click the cmd entry that appears in the search results, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
    At the command prompt, type the following, and then press ENTER:
    netsh winsock reset
    Then, you should see the following message:
    Successfully reset the Winsock Catalog. You must restart the computer in order to complete the reset.
    Restart the computer.
    Note If you receive an “Access Denied” error message instead of the message that is mentioned in step 3, the command prompt was not correctly elevated. In this case, close the Command Prompt window, and repeat steps 1 through 3. Make sure that you correctly implement step 2.

  • Issue Tracker app closing the browser window on chart page

    Hi!
    I am walking through the Issue tracker tutorial. I have created page 10 (Issues Resolved by Month) which is the chart page. Everything looked fine until I try to run the page. Then it simply closed the browser window after it authenticates me. Anyone else see this? Any ideas?
    Thanks!

    Probably a problem with your SVG viewer installation. Does it happen on other chart pages as well? What browser/svg viewer version combination are you using? There are some known issues with what's labeled as the current svg viewer on Adobe's website and Firefox.
    Earl

  • Closing the Capture window crashes Premiere

    Hi,
    I'm attempting to capture video from a Sony DHR-FX1. The capture window doesn't show the video as it plays, but it appears to record it; when I stop and save the clip, the saved video appears in the Library window with a visible thumbnail of the video. As soon as I close the capture window, Premiere suddenly shuts down.
    The settings in Premiere:
    HDV 1080i30 (60)
    29.97
    1440x1080 (1.33 anamorphic)
    16x9
    48kHz 16 bit
    The computer is a MacPro Tower with OSX Snow Leopard and I'm running version CS5.5.
    Thanks much,
    --Chaz

    My version of OSX is 10.6.2
    I purchased the Master Collection just this week so this is my first time using CS5.5 (and on a Mac no less). I downloaded the latest updates for Premiere [5.5.2] and there was a small improvement. Which now means the program doesn't crash immediately after closing the capture window, though it does eventually. I'm wondering if the crash when closing the capture may have been a coinidence before anyway.
    There was a small delay before my latest crash which gave me enough time to save a short 5-sec test snippet. The footage was still in the file when I restarted so we're headed in the right direction. I'm attempting to record the entire tape at once to see if I can manage to save that with the same results.
    Are there Codecs associated with this product or for the Mac that you're aware of?

  • How to create a Child Window without closing the parent Window

    Hi All,
    I have a requirement to create a child window without closing the parent window. I have to click an item in the parent window, then one child window should get open. The parent window should not be closed before closing the child window.
    Kindly help me in this.
    Thanks and Regards,
    Myvizhi

    Hi All,
    I found the solution for this. I have created a new page. Then i created an item as link item style in the parent page and i have set the following properties in the Link item:
    Destination URI : OA.jsp?page=/seagate/oracle/apps/seasoa/que/webui/SeaSoaHeaderDetailPG&headerId={@ErrHeaderId}&retainAM=Y&addBreadCrumb=Y&backPage=S
    Target Frame     : _blank
    This is opening the new child window without closing the parent window.
    Thanks and Regards,
    Myvizhi

  • My tabs are seperated into groups. Once I accidentaly opened a site in a new window (not a new tab). After that, I accidentaly closed the Firefox window with all my grouped tabs. Now, I can't recover it. Are there any solutions?

    I have my tabs seperated into several groups (for example, bank tabs, music tabs, social life tabs and so on). I do this with the help of the button in the top left corner. While I was surfing the internet, I accidentaly opened a site not in a new tab (as I usually do), but in a new window. The new window was without all the grouped tabs, which I had in the previous Firefox window. And then I accidentaly closed the Firefox window with all my grouped tabs. Now I can't recover it. Are there any solutions?

    Hi,
    We have rolled out a fix for this issue.
    Please log off and log back in to your machine and the issue should be resolved automatically. In case that does not work, please manually run the msi installer posted here (may require reboot).
    For details, please refer to the KB article here: Multiple RunOnce keys created 11.0.10 and 10.1.13 Acrobat | Reader
    Please let us know if you still face any issues.
    Thanks,
    Ashu Mittal

  • Exception when closing an Applet window

    Hi,
    Every one.....
    I have added Swing components to the JApplet. Everything is fine with the program . But when i am closing the appletviewer window it is throwing the following exception :
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: component argument pData
         at sun.awt.windows.Win32SurfaceData.initOps(Native Method)
         at sun.awt.windows.Win32SurfaceData.<init>(Unknown Source)
         at sun.awt.windows.Win32SurfaceData.createData(Unknown Source)
         at sun.awt.Win32GraphicsConfig.createSurfaceData(Unknown Source)
         at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
         at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
         at sun.awt.windows.WComponentPeer$2.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    So how to resolve this one, can anyone ?
    Bye

    I could be proven wrong, but I think you can use hide() and show() for your windows. You could make a windowListener that when a user tries to close the window you would have it hide that window instead, and show the underlying window:
    http://java.sun.com/docs/books/tutorial/uiswing/events/windowlistener.html
    You might also want to make the new window that pops up a modal dialog window.
    http://java.sun.com/products/jlf/ed2/book/HIG.Dialogs3.html
    Hope that helps.

  • Maximize the applet window

    Hi all. I'm on devsuite 10g. I'm running my form with separateframe=true. I would know if there is something that I can do to maximize the applet window, in which there is my form.
    In the formweb.cfg file I have modified the parameters as follow:
    width=100%
    height=100%
    but the window in which there is the form (probably the applet window) is not maximized.
    Here is the code of my when-window-activated trigger:
    Set_Window_Property(FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE);
    Set_Window_Property('WINDOW1', WINDOW_STATE, MAXIMIZE);
    Set_Window_Property('WINDOW2', WINDOW_STATE, MAXIMIZE);
    Set_Window_Property('WINDOW3', WINDOW_STATE, MAXIMIZE);
    So what can I do???
    Thanks all for the collaboration,
    Fabrizio

    try making width=100%
    height=100% in formsweb.cfg
    also search this forum for some answers

  • Maximizing the Applet window

    I am deploying a forms 5 application over the web. How can I
    have the applet window automatically maximized?
    I know how to do it in the forms runtime with FORMS_MDI_WINDOW
    but that doesn't work in the java deployment.
    any help would be greatly appreciated..
    thanks in advance,
    Dennis Hancock
    null

    Can you not use the same win api to bring up the browser application, since the applet is running within the browser?

  • Know if user has closed the Applet?

    I mad this chat without socket connection, so now I want to know if a user has closed the applet where the chat is..... Is this possible ? Can I somehow registre that a user doesnt have the applet running in his computer anymore?

    I assume that the destroy() method of the Applet class will run when the user terminates the applet (however this might take a while after the user navigates from the applet page). Otherwise, the start() and stop() methods could be used for this purpose. Run a test to see when these methods are invoked for your applet (navigating to and fro, shutting down the browser etc.) and figure whether these can do the work for you.

  • Closing Parent Applet Window

    I am setting the seperate window = TRUE in my formsweb.cfg. This opens up the form as a seperate applet. This is what I want. But how do I close the window which loaded this applet? I want only the applet to be active, remaining all windows closed.

    I followed the recommendation, but in my case it doesn't work.
    The code
    HTMLbodyAttrs=onLoad='javascript:self.moveTo(2000,2000)'
    or
    HTMLbodyAttrs=onLoad='javascript:self.moveTo(1601,1201)'
    doesn’t work properly. I have noticed that if the browser original size is not full screen, then when that javascript code runs, the browser just moves down to maximum possible bottom position, but it doesn’t disappear or get minimized – browser window size doesn’t change.
    Who knows what the problem is?
    Thanks,
    Dmitri

  • When one window containing 1 tab is closed, the other window with several tabs closes also

    I have a set of web pages that reproducibly causes Firefox to act incorrectly. When Firefox is first started I click the "Restore previous desktop" button. Then I have 2 Firefox windows. The first to open has 6 tabs; the second has 1 tab. When I close the 2nd window (with 1 tab), it also closes Firefox completely with no error message. When I run Firefox again, "Restore" creates both windows exactly as they were before.
    I don't know yet if the actual URLs make a difference, but here they are anyway:
    '''''Window 1:'''''
    https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F%3Fshva%3D1%26ui%3Dhtml%26zy%3Dl&bsv=llya694le36z&ss=1&scc=1&authuser=0&ltmpl=default&ltmplcache=2&from=login#inbox
    http://branamsmile.com/gum/?gclid=CLepiIaAhqkCFVJ25QodSyk1nw
    http://www.google.com/search?hl=&q=root+viewsonic+g+tablet&sourceid=navclient-ff&rlz=1B3GGLL_enUS412US412&ie=UTF-8&aq=0&oq=root+viewsoni
    ***** NOTE THIS TAB IS PROBLEMATIC *****
    When I press Alt+D, Ctrl+C, and Ctrl+V it into this comment box, I get
    '''woot'''
    When I look at the actual contents of the web page being displayed, it is the verizon wireless rebate page:
    '''www.verizonwireless.com/rebates'''
    The page has definitely finished being rendered (the refresh icon is displayed after the url "woot"), but the URL does not match the page. The URL displayed is not even in its proper form (i.e., www.woot.com).
    Remember that this page was RESTORED by Firefox from a previous session. It is as if I was on that tab at verizon, tried to go to woot.com by typing "woot" (which would of course bring up a search rather than the web page), DIDN'T PRESS ENTER, and Firefox is duplicating that entire sequence.
    ********* END PROBLEMATIC *************
    chrome://foxtab/content/newTabMessage.html
    https://www.bankofamerica.com/Control.do?page_msg=signoff&body=signoff
    '''''Window 2:'''''
    http://www.freewaregenius.com/2011/06/01/the-best-freeware-file-manager-a-comparative-analysis/
    With this exact set of windows and tabs, as restored by Firefox in a brand new instance of it, double-clicking the red Firefox in the top left corner of the 2nd window causes both windows to close.
    I wish I could save this configuration so I could always reproduce the error, but I need my computer :)

    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

Maybe you are looking for

  • Why can I not check the 'shuffle images' box in a slide show settings in iPhoto 9.6?

    Why can I not check the 'Shuffle images' box in settings of a slide show in iPhoto 9.6? All other settings I can check but this one.

  • Chinese Characters in JFrame Titlebar

    Hi, we have created a application, mainly intended for chinese users. Based on the user's choice the application will start up with the appropriate resource bundle. However, while using the chinese resource bundle, everything is working perfectly, ex

  • Usb sync ios 8

    AAnyone finding this glitchy now. I still like using manual usb sync but since ios 8 it is hit and miss whether playlists copy over to the phone. Also the playcount for various songs in iTunes is rocketing with each sync. Some of my songs increased b

  • Page size query .. is this style possible? .....

    hi there im wondering if its possible to specify the dimensions of a page like one from this website ... http://www.anoush.ch/sommaire/2006/com_work/comwork.htm if you click on one of the images from the top line for instance, a very wide & short pag

  • I cannot import files on to FCPX.

    I have tried everything, trashing preferences and reinstalling app, but nothing seems to work. I deleted movie files to make space on the hard drive, since then I cannot get fcpx to load any files and work properly. What am I doing wrong?