Java application window opening in small window

I have an application that is started from a .jnlp file. When I open the jnlp file, the app is installed and a shortcut to the app is placed on the desktop, and the app opens. The problem is that when the app starts, it flashes the window up taking the whole screen, then it resizes down to a small window (only big enough to see the menu items in the app) in the lower left side of the screen.
I have opened this same app on other systems and it does not exhibit this behavior. I have also seen this behavior on this system with both JAVA 6 and 7.
Here is a screen cap of the app as it opens:
I then have to resize the app by dragging the corner.
This is more of an annoyance than a real problem, but was wondering if anyone out there new of a way to correct this.

AWT creates this warning banner for every top level window created without the AWTPermission "ShowWindowWithoutWarning".
By default the jnlp sandbox will not include this permission.
If you sign you jars, and you jnlp file contains:
<security> <all-permission> </security>
you will have this permission (along with all others) and top level windows will not get the banner.
/Dietz

Similar Messages

  • Pass control to a new window opens a small window.

    I am using the following:
    WETargetPath ("rpt", "Name", "My Report", "weWindow=New")
    How do I open the new window so that it is in Full Screen mode (maximized).  Right now, it opens a small window.  On Maximizing the window, the report window still remains small?
    Thanks

    hi shabirdewji,
    i have attached syntax for a new weWindowUtilities function which will address the resizing issue when a New window (not a named window but a new un-named window) is opened. this means that when a New window is opened using the webelements target functions, you can then resize the new window and have no resizing issues.
    please note that you need to use the weTargetPathExt function instead of weTargetPath if you want to specify the initial new window size. please see the weSubmitMethods report in the webelements 246 download for an example.
    the syntax below will open a new window with a size of 500px X 500px. please see the user guide for more info on the wetargetpathext function.
    stringvar item1:= WETargetPathExt ("rpt", "Name", "myreport", "", 500, 500, true, 400, 200, true, true, true, true, true, "");
    WESubmit("cw1", "link", "Open Report in New Custom Window", item1, global stringvar fontlink);
    please replace your webelements246 > admin > wewindowutilities function with the attached syntax.
    thanks,
    jamie

  • Click on a link and open a small window

    I need to open a small window when user click on link.
    child window got a form, user need to fill in. Then click
    submit.
    Child window entry need to enter to db, and close the client
    window.
    What is the best way to do this?.
    Please post a sample code.

    This code will generate a popup window when the user clicks
    on a link... Just put your new form in the code for the linked
    page.

  • Hello i just bought quicktime pro and the application doesnt open ( im on windows 7) tank you

    hello i just bought quicktime pro and the application doesnt open ( im on windows 7) tank you

    hello thanks for helping i found where the problem was coming from but no how to resolve it. it sems like the AC3 format of avi video is in conflict with quicktime pro or something like that..
    i tried to take some codec for avi video but none of them resolved the problem if somebody has any answers thank you very much.

  • If I have multiple browser windows open (not tabs, windows) and I close 1 of them, why do ALL browser windows close?

    If I have multiple browser windows open (not tabs, windows) and I close 1 of them, why do ALL browser windows close?

    How are you closing the window?
    Are you using the File menu or the close X on the title bar?
    Use Alt + F to open the File menu with the Close Tab entry visible (doesn't work with the mouse).

  • New browser window opens, but existing window also refectsnew URL

    New browser window opens, but existing window also refects
    new URL. Any thoughts?

    <a href="
    http://www.wffsagallery.org/wffsa/hermes"
    class="style10 style11"
    onClick="MM_openBrWindow('
    http://www.wffsagallery.org/wffsa/hermes','Gallery','s
    crollbars=yes,resizable=yes,width=650,height=500');return
    false">click
    here</a></span><br>
    (note the "return false")
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "potteryguy" <[email protected]> wrote in
    message
    news:g55l5r$nj1$[email protected]..
    > New browser window opens, but existing window also
    refects new URL. Any
    > thoughts?
    >
    > <a href="
    http://www.wffsagallery.org/wffsa/hermes"
    class="style10 style11"
    > onClick="MM_openBrWindow('
    http://www.wffsagallery.org/wffsa/hermes','Gallery','s
    >
    crollbars=yes,resizable=yes,width=650,height=500')">click
    > here</a></span><br>
    >

  • HTTP form post from Web Dynpro Java Application without opening new window

    Hi Experts,
    We are trying to submit form data to an external URL from Web Dynpro Java application. We are achieving this with the following piece of code.
      try
       strPrintContent="<html>"+
         "<head>"+
         "<script type=\"text/javascript\">"+   
         "function myfunc () "+
         "{"+
         "var frm = document.getElementById(\"paymentForm\");"+
         "frm.submit();"+
         "}"+
         "</script>"+
         "</head>"+
         "<body onLoad=myfunc()>"+
         "<form id=paymentForm  method=post action=\""+merchantURLPart+"\">"+
         "<INPUT type=hidden name=username value="+userName+">"+
         "<INPUT type=hidden name=pass value="+passWord+">"+
         "<INPUT type=hidden name=senderid value="+senderID+">"+    
         "<INPUT type=hidden name=dest_mobileno value="+mobile+">"+
         "<INPUT type=hidden name=message value='"+msg+"'>"+
         "<INPUT type=hidden name=response value="+response+">"+
         "</form>"+
         "</body>"+
         "</html>";    
      IWDWebResource webResource = WDWebResource.getWebResource(strPrintContent.getBytes(),WDWebResourceType.HTML);
      IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(webResource.getAbsoluteURL(),"WBSEDCL");
      window.show();
      catch(Exception e)
      wdComponentAPI.getMessageManager().reportException("Error : "+e.toString(),false);
    But it opens another window. We dont need that. We have to stay on the same window.  Please suggest what can be done.

    Hi,
    You can create a HTML file with the request post parameters and the external URL something like this:
    public java.lang.String GetRedirecturl( )
    // External URL
    String html = "<html><head></head><body onload=\"load()\"> " +
    "<form id=\"form1\" action=\"https://www.abc.com/xyz.jsp\" method=\"POST\">" +
    // Post Parameters
    "<INPUT TYPE=\"HIDDEN\" NAME=\"Param1\"VALUE=\""+Param1Value+"\">"+
    "<input name=\"sap-wd-resumeurl\" type=\"hidden\"/>" +
    "</form> " +
    "" +
    "<script>" +
    "function load(){" +
    "var loc = window.location.search.substring(1);" +
    "var queryString = loc.split(\"sap-wd-resumeurl=\");" +
    "if(queryString.length > 0)" +
    "{" +
    "var resumeURL = queryString[1].split(\"&\");" +
    "if(resumeURL.length >= 0)" +
    "{" +
    " document.forms['form1'].elements['sap-wd-resumeurl'].value= unescape(resumeURL[0])" +
    "}" +
    "}" +
    "document.getElementById('form1').submit();" +
    "}" +
    "</script>" +
    "</body> </html>";
    String redirectUrl = "";
    byte[] byteArrayHtmlData = null;
    try {
      byteArrayHtmlData = html.getBytes("UTF-8");
    } catch (UnsupportedEncodingException e) {
      wdComponentAPI.getMessageManager().reportException("Internal error occurred. Please try after some time",true);
    IWDResource htmlResource = WDResourceFactory.createCachedResource(new ByteArrayInputStream(byteArrayHtmlData), "Redirect.html", WDWebResourceType.HTML, true);
    redirectUrl = htmlResource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal());
    return redirectUrl;
    Hope this will be helpful.
    Regards,
    Anurag

  • Run Swing application without opening DOS prompt window

    is it possible to run a Swing application without opening a command interface window in MS Windows?
    thanks

    Don't know if you mean that, but if you try to call javaw.exe instead of java.exe there pops no prompt up.

  • MP3s open in smaller window

    I know how to link to an MP3 and have it open in a separate
    window, but how do I make it open in smaller pop-up window instead
    of the full size that comes up with the Quicktime logo?? I tried
    using an onClick Behavior to open in another window but it won't
    work (tho that might be a Firefox issue, not sure).
    Thanks.

    fourthleaf <[email protected]> wrote:
    > I know how to link to an MP3 and have it open in a
    separate window,
    > but how do I make it open in smaller pop-up window
    instead of the
    > full size that comes up with the Quicktime logo?? I
    tried using an
    > onClick Behavior to open in another window but it won't
    work (tho
    > that might be a Firefox issue, not sure).
    Could you paste some code?
    Javascript Popups definitely work with FF...
    Kind regards,
    magoo

  • Open in smaller window

    I have created a few slideshows in Flash and when the link to
    open them is clicked I need the slideshows to appear in a smaller
    window, like a popup message.
    Can someone please help and tell me how to do this?
    Many thanks

    fourthleaf <[email protected]> wrote:
    > I know how to link to an MP3 and have it open in a
    separate window,
    > but how do I make it open in smaller pop-up window
    instead of the
    > full size that comes up with the Quicktime logo?? I
    tried using an
    > onClick Behavior to open in another window but it won't
    work (tho
    > that might be a Firefox issue, not sure).
    Could you paste some code?
    Javascript Popups definitely work with FF...
    Kind regards,
    magoo

  • My Java application cannot exit properly when Windows Vista log off

    When I run my Java swing application and show to user (only in active window state), log off / shutdown process of Windows OS will be interrupted by dialog box, mentioned that the process is blocking by my Java application. The dialog box has 2 buttons, 1st button, log off / shutdown now, 2nd button, cancel log off / shutdown. If I click cancel button, terrible thing happen!!! My Java application hang there with CPU usage 90 something....
    I using 1.5 and having above mentioned problem. But when I using 1.6, no dialog box is pop up, my machine can go log off / shutdown as my expectation.
    Any expert know how to solve this?
    ps: due to my library constraints, i have to using 1.5.
    Thanks in advance

    The GeForce 8800 GS in an iMac is equivalent to a GeForce 8800M GTS in a PC.
    Forceware driver 178.15 offers support for GeForce 8800M GTS:
    http://laptopvideo2go.com/forum/index.php?showtopic=20927
    Run that exe in Vista 64x, and then select the INF file from the Device Manager manual driver update instructions instead of picking from the list (which doesn't contain GeForce 8800 GS).
    GF 8800 GS does NOT equal GF 8800 GT. Very different cards.
    http://en.wikipedia.org/wiki/GeForce8_series#8800GS
    See http://discussions.apple.com/thread.jspa?messageID=8281574#8281574 for more info.
    I didn't figure out how to get this to work on 32-bit Vista.

  • How to make a hyperlink to open new small window?

    HI!
    I try to make Dreamweawer to do next action when i click on
    some hyperlink on my page:
    - open new small sized window that does not have any
    navigation buttons from browser (back, forward, stop,...)
    - in that window there should be only picture and some text
    Probably stupid question ...but i would be happy if someone
    can help me.
    Thanks all
    Xedor!

    Go to Dreamweaver Exchange and search for "Smart Link." The
    extension is free, and it will meet your needs mentioned above.
    Good luck!

  • Clicking a link opens a smaller window, not a maximized window, how can I fix this?

    When I click links that open in a new window, that new window is not maximized, like the browser window that I used to click the link. How can I fix this?
    I prefer using new windows instead of new tabs, and I have been doing this forever. I had turned OFF the automatic updates for Firefox, but this newest update was installed anyway. If there is no setting to open all new links in windows the same size as the main window, is there an option to revert this update?

    Hi Mumps,
    There is a feature in Firefox that forces window.open() to open in a new window.
    browser. block. target_new_window
    Reference (http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries)
    Same window size should be default. It should open the window of the same size. Try to reset firefox if this is not happening. (about:support page > Reset)

  • New window opens behind existing window - how to modify?

    Sometimes when I select another program or function, the new window opens up behind an existing window on the screen.  I know there are ways of getting to the new window, but how can I make W7 operate like earlier Windows in this respect - i.e. always open a new window in the foreground?

    This is an OLD POST, but I think I need to contribute my two cents!
    In Windows 7, window pop-ups are control by FOREGROUNDFLASHCOUNT and FOREGROUNDLOCKTIMEOUT in the REGISTRY (You need to CLICK ON the START ICON at the leftest of your TASKBAR, and type REGEDIT in the SEARCH PROGRAMS and FILES field).  Go to the REGISTRY
    EDITOR and it is at this path:
    HKEY_CURRENT_USER\CONTROL PANEL\DESKTOP.
    One click on the DESKTOP (Manual Display), and your will see the detail populate at the right side of the REGISTRY EDITOR window.  Go to fine the FOREGROUNDLOCKTIMEOUT, and double click on it.  
    The EDIT DWORD small window will pop-up.  Change the VALUE DATA to ZERO.  
    Yes, you must restart your PC in order for the change to apply.
    Here is what is telling us in the Windows 7 manual:  http://technet.microsoft.com/en-us/library/cc957205.aspx
    ForegroundFlashCount
    2 out of 6 rated this helpful - Rate
    this topic
    HKCU\Control Panel\Desktop
    Data type
    Range
    Default value
    REG_DWORD
    Number of flashes in decimal
    3
    Description
    Specifies the number of times the taskbar button flashes to notify the user that the system has activated a background window. If the time elapsed since the last user input exceeds the value of the ForegroundLockTimeout entry,
    the window will automatically be brought to the foreground.
    Related Entries
    Yes, if the DOWNLOAD timer in the FOREGROUNDLOCKTIMEOUT (SHOWING 30D40 Hexadecimal) is longer than the 3 FLASH(Default), then you will see the new WINDOW pop-up behind your mother window or your application.  Set the VALUE DATA to ZERO, sooner
    than the 3 FLASH of the FOREGROUNDFLASHCOUT, the the DESCRIPTION above is applied.
    Good luck
    Leng

  • When I download something from the Web, the "Downloads" window opens, but the window remains blank. Before it used to at least show the name of the file and I could open the file from the "Downloads" window. Is there a way to get this functionality back?

    I'm running Windows XP which is updated to latest version (which I think might be Service Pack 3, but not positive.) Mozilla Firefox is version 5.0. I tend to use Google as my search engine so most of the stuff I download comes through sites found through Google, which is also updated.
    At some time in the past (maybe a few versions ago) when I would download a file from the Web, the "Downloads" window would open and in the window would be displayed the name of the file I was downloading or had just completed downloading. I think I used to be able to then click on that file name and the file (or the installation file if needed to start the new program) would open. I am currently using Firefox 5.0 (the "About Firefox" screen says this is up to date) and when I download a file or document, the "Downloads" window appears on the screen as it always has in the past, but it remains blank, i.e., nothing appears in the downloads box. I don't remember making any configuration changes, etc., that may have caused the window to remain blank, but I could be mistaken. I know how to find the items I've downloaded (My Documents / Downloads) and can usually guess what the name of the downloaded file might be, but it used to be much easier when something (anything) showed up in the downloads window.
    I'd love for someone to tell me about a simple fix for this. I'm willing to be quite embarrassed that I did something I shouldn't have.'''

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

Maybe you are looking for

  • My weather widget keeps saying "weather offline" when im on wifi or have full service?

    on my iphone 4 in the notification centre, my weather widget says "weather offline" sometimes, most of the time is shows the weather, but sometimes it is offline even when im on wifi or have full service. its so annoying. how can i fix this?

  • My lumia 620 is not updating to cyan update

    Please help me. My phone is not updating. My Mobile shows the message that your mobile is upto date while it is still in Lumia black. The Lumia cyan update is officially available in my country(Pakistan). What is the problem with my mobile please not

  • Interactive PDF, open file in new window.

    Hello everyone, I was unable to find this on the net or I could be using the wrong typed search. Created a successful interactive document. I attached a portfolio to this interactive document. I have 3 images. Two are hyperlinked to specific urls whi

  • Why Are My Audio Changes Not Saved?

    I'm using iMove HD 6.0.3. When I select a clip in the timeline viewer whose volume I want to change and I drag the slider to decrease the percentage the change is not recognized when I play the project again. I don't see an "apply" button anywhere or

  • Save as certified document issue

    I have no idea why my only option is to "save as certified document". I need to be able to "Save" or "Save As" only. I'm using acrobat professional 8.1. Any help would be awesome. Thanks in advance!