Maximizing the applet's window

We are converting the forms/reports to run in the Application Server. When you run on the web, an applet starts the forms converted.
In the older version of forms we use the trigger WHEN-TIMER-EXPIRED to refresh an application, so the user could be working in other task and when the time expired, we were using the win_api to show again the window refreshed.
Now, when the window that is running the applet is minimized how can I maximize it using the time expired ?
Urgent,
Thanks.

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

Similar Messages

  • 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?

  • Maximizing the applet window makes the scrollbar visible how do i solve it

    Hi
    I have scrollpane which consists of panel which has gridlayout ..I drag and drop the labels from one panel to this panel but the scrollbar does not appear ..but as soon as i maximize the window scroll bar appears for the panel..How do i solve this problem.?? can anybody help me asap

    the tabs were move to above the navigation bar, where the menu bar was. They hardly look like tabs there, but you may have turned off the tabs bars. View (Alt>V) > Toolbars > Tabs Bar
    I think the solutions would really prefer though would be
    You can make '''Firefox 8.0''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface
    <p>There is a lot more beyond those first 10 steps listed, if you want to make Firefox more functional.</p>
    <p><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small></p>

  • The applet

    Hi. A question about the applet....
    I'm using the follow parameter in the formsweb.cfg file to open my applications in an IE window that won't have all the user's Internet Explorer toolbars and push buttons. My intent is to maximize the amount of canvas displayed during runtime:
    # Forms applet parameter
    separateFrame=true
    A follow up concern about using this setting is that the applet first opens in an separate IE window and remains open even after my application's IE window is closed by the user.
    For our non-technical users here on my project this will likely be confusing. Is there anyway to sync the closing of the applet window along with the closing of my separate application IE window?
    Or better yet - Is there a way to keep the applet IE window running for the user, but in a mode that is minimized or even invisible to the user?
    Any advice would be appreciated. Thanks in advance.

    it can't close itself. You have to manually close it e.g. in your post-form-trigger of your main form.
    then you start some java-script, which closes the window. Many examples of statement can be found in this forum, if you explicitly search for it.

  • 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

  • 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.

  • Forms Server - Unable to  load *.FMX  into the applet window

    We have compilled the following html from JDeveloper :
    <HTML>
    <!-- FILE: main.html -->
    <!-- Oracle Static (Non-Cartridge) HTML File Template -->
    <!-- Rename, and modify tags and parameter values as needed -->
    <HEAD><TITLE>The Developer/2000 Server</TITLE></HEAD>
    <BODY><BR>Please wait while the Forms Client class files download and run.
    <BR>This will take a second or two...
    <P>
    <!-- applet definition (start) -->
    <APPLET CODEBASE="."
    CODE="oracle.forms.engine.Main"
    ARCHIVE="f60web.jar"
    HEIGHT=400
    WIDTH=400>
    <PARAM NAME="serverHost" VALUE="192.168.1.99">
    <PARAM NAME="serverPort" VALUE="80">
    <PARAM NAME="serverArgs"
    VALUE="module=test.fmx userid=tasos/1234@gportal">
    <PARAM NAME="serverApp" VALUE="default">
    </APPLET>
    <!-- applet definition (end) -->
    </BODY>
    </HTML>
    Runtime retunrs the following:
    java.lang.NoClassDefFoundError: java/awt/peer/ActiveEvent      
    void oracle.forms.engine.Main.dispatchEvents(java.awt.EventQueue)      
    void oracle.forms.engine.Main.tryDispatching()      
    void oracle.forms.engine.Main.componentResized(java.awt.event.ComponentEvent)      
    void java.awt.Component.processComponentEvent(java.awt.event.ComponentEvent)      
    void java.awt.Component.processEvent(java.awt.AWTEvent)      
    void java.awt.Container.processEvent(java.awt.AWTEvent)      
    void java.awt.Window.processEvent(java.awt.AWTEvent)      
    void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)      
    void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)      
    void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)      
    void java.awt.Component.dispatchEvent(java.awt.AWTEvent)      
    void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)      
    boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)      
    void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)      
    void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)      
    void java.awt.EventDispatchThread.run()
    Finally , the applet main.class initializes but the specified
    FMX file could not be displayed.
    Is it possible to explain us what is going wrong ;

    If your fmx cannot be found try first to have a hard coded path to the fmx in your HTML something like module=c:\temp\a.fmx
    If it works this way then you probably didn't set the FORMS60_PATH entry in the regedit correctly to include the path to the form.
    set it and remove the path from your html.
    Also I would suspect that your jar is not loaded since your codebase is not pointing to it's directory.
    Open the java console to see if it gets downloaded to the client.

  • Maximizing the window in the LMS

    We have a client who is needs to resize or maximize the screen each time they launch a course, because the LMS opens a new window which is the size of the screen without the TOC or playbar.
    There doesn't seem to be a way in IE to force a new window to open maximized, except by doing it on each inidivual desktop by closing with Shift-close.  And the LMS gets all its information from Captivate - it doesn't have any controls.
    Am I missing something?  We have over a hundred courses already loaded for them, so I'm hoping we don't have to re-publish everything.
    Can anybody help?

    Pure HTML _new or _blank links do not have control of the size of a window they open. In the case of a Javascript link using the window.open() method, the physical size of the new window is set by the parameters given inside the method parentheses.
    Neither of these two things is controlled by Captivate in an LMS environment because the LMS will be linking to the HTM for a given SCO to launch it.  Most LMSs have some kind of TOC in the SCORM player with links to launch SCO modules.  It is these LMS links that have (if any) ability to define the size of the window in which the content plays.  If your LMS is so devoid of options that it cannot allow your LMS admins to configure the opening window size, then Captivate is not going to fix this for you. 
    If your LMS Admins are so sure that Captivate is supposed to control the size of the window, ask them to show you where Captivate does this. My bet is that they know little or nothing about Captivate and are passing the blame for the issue. 
    Most LMSs I have worked with gave you control over the launch window size IF the content was set to open in a new window.  However, if the content was just being launched in the existing player window, then the user was expected to expand this to whatever size they wanted the browser to be.  Not all LMSs give you this control.  Some very expensive LMSs offer no configuration options for window size (e.g. SumTotal) whereas many open-source LMSs do (e.g. Moodle).

  • How do I make New window open maximized the way it used to?

    How do I make New window open maximized the way it used to?

    { Ctrl + B } opens and closes the Bookmarks Sidebar.

  • SetCookie Javascript call from applet pops up the launcher browser window

    Hi,
    With Jre 1.5 we started seeing a strange problem.
    From our applet code at the end of loading the applet we call a setcookie on our parent browser window (Browser window used to access our html/applet page).
    Once we make this call the browser window comes on top of our applet window.
    This was working fine earlier, with jre 1.5 we started seeing this issue. Any thoughts?
    A workaround is to call the toFront() function on the applet window's mainframe and set it in the front again. I was wondering if any one have seen similar problem.
    It happens only with IE on windows, no issue on netscape/mozilla.
    Thanks
    RT

    this is now resolved. My call to the transaction was slightly incorrect. This is now the working code:
    CONCATENATE 'http'
    '://' host ':' port
    '/sap/bc/gui/sap/its/webgui/?~transaction=*MIR4 RBKP-BELNR=5105600751' ';DYNP_OKCODE=SHOW'
    into url.

  • Raining outside the Applet Window ! HELP

    I have set the coding for an applet 800 pixels by 800 pixels .
    The Mozilla Firefox browser window cannot be modified to be that size and it is raining outside the applet !
    How do I modify the RainCloud class so it only rains within
    800 pixels in the x direction ?
    Below is the RainCloud class and the rest
    Thank you in advance
    //@ applet is from "An Eventful Approach" by Murtagh and Bruce
    import objectdraw.*;
    import java.awt.*;
    public class RainCloud2 extends ActiveObject
        private static final int MAX_DROPS = 1000000;
        private static final int DELAY_TIME = 10;
        private DrawingCanvas canvas;
        private RandomIntGenerator xGenerator;
        public RainCloud2(DrawingCanvas canvas)
            this.canvas = canvas;
            xGenerator = new RandomIntGenerator(0,canvas.getWidth());
            start();
        public void run()
            int dropCount = 0;
            while (dropCount < MAX_DROPS)
                   new FallingBall(new Location(xGenerator.nextValue(), 0), canvas);
                   pause(DELAY_TIME);
                   dropCount++;
    import objectdraw.*;
    import java.awt.*;
    public class FallingBall3 extends ActiveObject
            private static final int BALLSIZE = 4;
            private static final int TOP = 50;
            private static final int BOTTOM = 600;
            private static final int SCREENWIDTH = 400;
            private static final double Y_SPEED = 4;
            private static final int DELAY_TIME = 33;
            private DrawingCanvas canvas;
            private FilledOval ball;
            public FallingBall3(Location startPoint, DrawingCanvas aCanvas)
                    canvas = aCanvas;
                    ball = new FilledOval(startPoint ,
                                          BALLSIZE, BALLSIZE, canvas);
                    start();
            public void run()
                    while (ball.getY() < 240)
                            ball.move(0, Y_SPEED);
                            pause(DELAY_TIME);
                    ball.hide();
    import objectdraw.*;
    import java.awt.*;
    public class Sun2  extends ActiveObject
       private static final int BALLSIZE = 80;
       private static final double PAUSE_TIME = 190;
       private static final int TOP = 50;
       private static final int BOTTOM = 400;
       private static final int SCREENWIDTH = 400;
       private static final double Y_SPEED = -8;
       private DrawingCanvas canvas;
       private FilledOval sun;
        public Sun2(DrawingCanvas aCanvas)
          canvas = aCanvas;
          sun = new FilledOval(SCREENWIDTH/2,BOTTOM,BALLSIZE,BALLSIZE,canvas);
          sun.setColor(Color.yellow);
          start();
        public void run()
           while(sun.getY()  >  30 )
              sun.move(0, Y_SPEED);
              pause(PAUSE_TIME);
            //sun.hide();
    import objectdraw.*;
    import java.awt.*;
    public class Grass extends WindowController{
            private static final int SCREENLEFT = 0;
            private static final int SCREENTOP = 0;
            private static final int SCREENHEIGHT = 400;
            private static final int SCREENWIDTH = 500;
            private static final int SUN_INSET = 50;
            private static final int SUN_SIZE = 70;
            private static final double GRASS_LINE = SCREENHEIGHT*0.63;
            private static final double GRASS_HEIGHT = SCREENHEIGHT*.04;
            private static final double SKY_LINE = GRASS_LINE + GRASS_HEIGHT;
            private static final double GRASS_WIDTH = 2;
            private static final Color SKYBLUE = new Color(100,100,200);
            private static final Color GRASSGREEN = new Color(0,200,0);
            public void begin()
                double bladePosition;  // where to draw next blade of grass
                            // draw solid sky, grass and sun
                    new FilledRect(0,0,SCREENWIDTH,SKY_LINE,
                                    canvas).setColor(SKYBLUE);
                    new FilledRect(0,SKY_LINE,
                                             SCREENWIDTH,SCREENHEIGHT-GRASS_LINE,
                                 canvas).setColor(GRASSGREEN);
                    bladePosition = 0;
                    while ( bladePosition < SCREENWIDTH )
                            new FilledRect(bladePosition,GRASS_LINE,
                                                       GRASS_WIDTH,GRASS_HEIGHT,
                                          canvas).setColor(GRASSGREEN);
                            bladePosition = bladePosition+2*GRASS_WIDTH;
                   new Text("Click to make a rain cloud....",240,290,canvas);
            public void onMouseClick(Location point)
               new RainCloud(canvas);
               new Sun(canvas);
    <html>
    <head>
    <title> Grass.java
    </title>
    <body>
    <applet
    archive = "objectdraw.jar"
    codeBase = "."
    code = "Grass.class" width = 800 height = 800 >
    </applet>
    </body>
    </html>

    you could set clipping on the Graphics object

  • What is the canonical name of icloud applet for windows?

    Hi, I am trying to determing the canonical name of the icloud applet for windows.  Does anyone know it?

    To expound a bit, within win7 control panel sits "iCloud".  I am attempting to hide the applet from being visible in control panel using group policy editor.  No big deal really, the hard part is determining the cononical name.  I have tried it in ways akin to other names, but no dice.  Here are some samples:
    Control Panel Item
    Canonical name
    GUID
    Action Center
    Microsoft.ActionCenter (Windows 7 and later only)
    {BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}
    Administrative Tools
    Microsoft.AdministrativeTools
    {D20EA4E1-3957-11d2-A40B-0C5020524153}
    AutoPlay
    Microsoft.AutoPlay
    {9C60DE1E-E5FC-40f4-A487-460851A8D915}
    Backup and Restore
    Microsoft.BackupAndRestore (Windows 7 and later only)
    {B98A2BEA-7D42-4558-8BD1-832F41BAC6FD}
    Biometric Devices
    Microsoft.BiometricDevices (Windows 7 and later only)
    {0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}
    BitLocker Drive Encryption
    Microsoft.BitLockerDriveEncryption
    {D9EF8727-CAC2-4e60-809E-86F80A666C91}
    Color Management
    Microsoft.ColorManagement
    {B2C761C6-29BC-4f19-9251-E6195265BAF1}
    Credential Manager
    Microsoft.CredentialManager (Windows 7 and later only)
    {1206F5F1-0569-412C-8FEC-3204630DFB70}
    Date and Time
    Microsoft.DateAndTime
    {E2E7934B-DCE5-43C4-9576-7FE4F75E7480}

  • Maximizing a floating document window makes the entire UI inaccessible

    On Windows 7, with Photoshop CS6, if you drag a document tab out of the main application window, it becomes a floating document with its own window controls for minimize, maximize, and close just like a normal Windows OS document should.  However, if you click the maximize window button, instead of maximizing within the primary application window like document windows are supposed to... the Photoshop document window expands to the full screen and covers up all user interface elements of the primary Photoshop application window.  This makes all user interface elements completely inaccessible.  Pressing the tab key will not show your tools like you'd expect, though shortcut keys still work. 
    The only way to get the user interface back is to restore the document window to a smaller size.  If this is a feature, what would it be used for?  Why do document windows in CS6 need to behave differently from the normal behavior of application and document windows on the Windows operating system?

    If Adobe were to make the document "maximize" into the application window, there would no doubt be people who want to see it on the whole screen and are used to the way it works in Photoshop CS5 who would be upset.  Plus, that's just not what the Maximize button on a window is supposed to do.
    Your workaround is to avoid the Maximize button entirely and use the right-click Fit on Screen function (which really fits to document to the application window) or the keyboard equivalent - Control 0.
    -Noel

  • 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.

  • Can applet close the Web browser window it embedded in?

    I know that a link or button in the Web browser can close the browser window. But I really don't if the applet can also do it.

    This site does have a search function you know, and if thats too much trouble there is google:
    http://www.google.com/search?q=site%3Asun.com+%22java+to+javascript%22&ie=UTF-8&hl=nl&lr=
    This should point you in the direction of a thing called JSObject
    Here is some code since I have this in my archive anyway:
    the html file:
         <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
                  height="0" width="0" >
            <param name="code" value="someApplet.class" />
            <!--[if !IE]> Mozilla/Netscape and its brethren -->
            <object classid="java:someApplet.class"
                    height="0" width="0"
                    >
            </object>
            <!-- <![endif]-->
          </object>
    <LABEL id="lblOutputText">This text is the HTML text </LABEL>the applet:
    // new class for jsObject!!!! compile this: javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" someApplet.java
    // since jaws.jar does not exsist anymore
    // in 1.4.0 to compile: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" someApplet.java
    import netscape.javascript.*;
    public class someApplet extends java.applet.Applet {
        JSObject win;
        public void init() {
             try{
                 win = JSObject.getWindow(this);
    // you need win.eval("window.close();"); // to close the window. if the current window is not a popup
    // opened by a parent with window.open than the user will get a waring, your next question probably will
    // be "can I stop this warning" and the answer is simple: NO
                 JSObject textBoxLabel = (JSObject) win.eval("document.getElementById('lblOutputText')");
                 textBoxLabel.setMember("innerHTML", "<center><h1>Some text</h1></center>");
            }catch(Exception e){
                 e.printStackTrace();
    }

Maybe you are looking for

  • Screen-field value not visible

    Hi All , I have added couple of fields to the standard transaction .Used  a badi to achieve that.Now am able to send the values from one of the methods in the same badi to the custom field and a standard table is getting updated (which was created wi

  • Report takes  long time to refresh

    Hi Experts , I have an issue ,when I have only used one workshet  to upload as the original workbook has about 25 worksheet tabs and is too large to upload.The report takes 20 minutes to refresh I was rebuilding the report when I noticed that when I

  • Where is the adapter repository website?

    Does anyone know where the integration repository website is for Oracle products?

  • LP8 announced & brought 13/07/07 arrived 10am 14/07/07 and my verdict?

    Talk about fast, purchased that afternoon Apple Store Australia arrived next day 10am and..... As a logic user since an Atari STE (2.0) I was skeptical about LP8, but at an update cost of AU$249 why wouldn't you? After the install (over an hour) ther

  • Aggregrates and BW Statistics

    Hi All, Can anyone send me some good documents on Aggregrates and BW Statistics? My mail id is [email protected] Regards, P B