Applet Parameter Reference

Excuse the stupid question, but does anyone know of a list describing the various parameters that can be passed to the forms applet at runtime? Among other things, I'm looking for one that lets me change the icon and title of the window that forms display in when I run with separateframe=true.
Thanks,
Alex Valys

Looks like you are going to have to sign your applet.
It looks as if that ORB object is trying to modify something with threading that the default Security Manager in Applets won't permit to happen.
To be honest I am more than a little suspicious of code that feels it needs to fiddle with thread things but whatever. You are going to have to sign and your applet
and get the permission you need for the ORB to do it's thing.
If you have more questions about this you should post them into the [_Signed Applet Forum_|http://forum.java.sun.com/forum.jspa?forumID=63]

Similar Messages

  • Is it possible to create a bean that will generate (fill up) applet paramet

    Hi all,
    As a newbie I was asking myself is it possible to create a bean that will fill up applet parameter or directly generate the applet ??
    And I can I create it ?
    I mean : Having a jsp page that make reference to the bean, the bean shall generatehtml applet parameter values.
    Some samples will be welcome or a template.
    Thanks in advance
    Shamann

    Thanks a lot for your reply siv viv,
    I've posted this thread because I'm a little bit disappointed with Applet and jsp according to lot of thread about this subject (it seems that communication between applet and jsp is not easy : bug reported).
    The basic thing i want to do is to create a dynamic Pie Chart as applet or bean so i need to set applet parameter thanks to variables.
    See the http://forums.java.sun.com/thread.jsp?forum=45&thread=80250 this one is putting me in the dark.
    regards
    Shamann

  • Does BOXI support crystal reports with parameter references in formulas?

    I am designing a report in Crystal Reports XI Developer that contains parameters, which are passed to a stored procedure and are also used within formulas ( in Crystal Syntax ie. {?FORMAT_ID} ) in the report itself.
    I can run the report successfully in CRXI Developer.  The formulas use the correct values from the parameters entered during execution and everything looks good.
    I then deploy the report to Business Objects Enterprise XI.  I do all of the things necessary to manage the report including setting up the proper database connection information and default parameter values.
    When I run the report using the Crystal Report Viewer, I get the following error message:
    Error in File Forecasting.rpt:
    Error in formula <Report Format>.
    'if (not isNull({?FORMAT_ID} ) ) then
    This field name is not known.
    Details: errorKind
    This happens when I press the "Preview" button in the Manage Object dialog from Crystal or when I run the report using InfoView.
    I have changed the formulas and it doesn't seem to matter what the specific content of the formula is; other than the existence of a parameter reference in the formula.  If I comment out the parameter and replace it with a hard-coded value, it gets through the formula fine.
    Does Business Objects Enterprise XI support crystal reports with parameter references in the formulas?
    Thanks,
    Tim H.

    Hi,
       In Crystal Reports under File -> Report Options >check convert Null Values to default > Verify on first refresh > Verify stored procedures on first refresh.
    This corrected the issue by allowing the query engine time to locate those columns and map them to the query being sent by the report.
    The convert null values was added because those field were being used in the record selection and grouping.
    Regards,
    Vinay

  • Forms applet parameter

    Forms applet parameter colorScheme=teal
    how much color scheme can we add in parameter.

    You can see here on documentation:
    http://download.oracle.com/docs/cd/B19375_07/doc/frs/forms/B14032_03/toc.htm
    You must check in section 4.3.4.4 Applet or Object Parameter
    Hope it helps you,
    Fabrizio
    If this answer is helpful or correct, please mark it. Thanks.

  • Java Applet parameter

    I've got the next html link
    http:\\xxxxxxx?level=3 , for instance.
    Within the html page next Java Applet tag,
    <APPLET CODE="opis/opis.class" WIDTH=580 NAME="opis" HEIGHT=378 >
    <PARAM NAME="Applet:CODE" VALUE="opis/opis.class">
    </APPLET>
    I want to pass "level" parameter to Java program using:
    <PARAM NAME="level" VALUE=" ????? ">
    How should I reference "level value" within VALUE=""
    Thanks.

    I am also looking for a solution, can someone help ?
    Noah

  • Analyzer applet parameter useFrame error

    <p>Hi all, I've the problem of customizing the deployment ofanalyzer 7.2 reports by opening them in a frame of an externalwebapp.</p><p>I was able to open the analyzer.jsp in the frame, but then theanalyzer applet is opened in another window.</p><p>Is it possible to solve my problem (without using the analyzerhtml version)?</p><p> </p><p>Thanks in advance for your help.</p><p> </p><p>Giovanni</p>

    <p>I've forgot to say that I've found the UseFrame appletparameters that seemed to do what I wanted, but trying to use it,an error of unsupported parameter or method is raised.</p><p>Have someone used this parameter, and has it the meaning to makethe applet load within a frame?</p><p> </p><p>Thanks again</p><p>Giovanni</p>

  • Applet parameter list

    can any one send all possible parameter for java applet to deploy form on web.

    Could you explain a little more about what you want the new parameter to achieve? I'm not sure what you mean by 'refresh parameter'..?
    You'll find a useful explanation of the possible parameters in formsweb.cfg at http://www.huihoo.com/oracle/docs/B14099_19/web.1012/b14032/configure003.htm#i1072143, if that helps.
    James

  • Applet parameter

    Hi all
    Do you have any idea to set up a parameter inside an Applet rather than inside an html code?

    Not sure about your question, try this [url http://java.sun.com/docs/books/tutorial/applet/appletsonly/param.html] Defining and Using Applet Parameters

  • Custom report parameter references

    Dear All,
    I have a custom report with two parameters
    FROM_PRAM
    TO_PRAM
    Both parameters have same SET_OF_VALUES.
    I want to apply check on parameter level that TO_PRAM value should not less than FROM_PRAM.

    You can check that in the after-parameter-form trigger.
    if :to_pram < :from_pram then
      srw.message(100, 'TO_PRAM value should not less than FROM_PRAM');
      return false;
    end if;

  • Can't  use parameter reference from DLL C on pl/sql

    hi all, I have dll(newStr.dll) write by c language with a function name is "strNew", following code in c and pl/sql:
    char* strNew(char *& str){
         if (str != NULL){
              str = strdup("");
              str = strcat(str,"String is not null.");     
         }else{
              str = strdup("");
              str = strcat(str,"String is null.");     
         return str;
    On PL/SQL I call the dll(newStr.dll), following code on pl/sql:
    1) Create library:
         CREATE OR REPLACE LIBRARY TestDLL AS 'D:\newStr.dll';
    2) Create package:
         CREATE OR REPLACE
         PACKAGE TEST_DLL AS
         FUNCTION strNew(str IN OUT varchar2) RETURN VARCHAR2;
         END TEST_DLL
         CREATE OR REPLACE
         PACKAGE BODY TEST_DLL AS
         FUNCTION strNew(str IN OUT VARCHAR2)
         RETURN VARCHAR2 AS
         EXTERNAL LIBRARY TestDLL
         NAME "strNew"
         LANGUAGE C
         CALLING STANDARD PASCAL
         PARAMETERS(str BY REFERENCE STRING, return STRING);
    END TEST_DLL
    3) Create Procedure:
    CREATE OR REPLACE
    PROCEDURE TESTPRO AS
    newStrIn varchar2(40) :='test';
    newStrOut varchar2(256);
    BEGIN
    newStrOut := TEST.strNew(newStrIn);
    DBMS_OUTPUT.PUT_LINE('newStrOut = ' || newStrOut );
    DBMS_OUTPUT.PUT_LINE('newStrIn = ' || newStrIn );
    END TESTPRO;
    4) Run procedure the result following:
    newStrOut = String is not null.(it correct)
    newStrIn= 8!(it wrong, the newStrIn='String is not null' is correct))
    I not found root cause why in pl/sql, I can't get the variable reference from dll c.
    Please help me.
    Quan.

    For compatibility purposes you would probably be better using 10g development rather than 9i if you are going to use a 10g database. I'm not familiar with the latest versions in terms of Oracle Forms, cos I stopped developing in Forms back on version 8.
    Essentially there are different components you can download and install.
    Database - This sets up a database server and allows you to create databases to store your data in.
    Client - This installs the necessary client software to allow you to connect to a database on a database server. It includes client software such as SQL*Plus and the drivers needed to make the connections.
    Developer - This is a client side development environment for developing forms and reports. It requires the Client software in order to be able to connect to the database.
    By the sounds of it you have downloaded and installed the last two, but without the first one you don't have a database to connect to.

  • How to set applet  parameter in java code?

    Hi All,
    Instead of setting applet parameters in JSP page, Now I have a need to set
    applet parameters in java code. But I can't find a method that allow me to do this. There
    is only getParameter but seems no setParameter method.
    Any help is appreaciated.
    Thanks,
    Chris

    Take a look at set_custom_property:
    public static final ID SETTEXT = ID.registerProperty("SETTEXT");
    public boolean setProperty(ID pid, Object value)
        if (pid == SETTEXT)
    String text = value.toString();
    and in forms
    set_custom_property('beans.bean_item', 1, 'SETTEXT', 'some text');
    cheers

  • Javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial

    Hi!
    I got this error message at runtime.
    After adding value to the Intialcontext by adding the following code snippet:
    Properties p = new Properties();
    p.put("java.naming.factory.initial",
    "com.sun.jndi.cosnaming.CNCtxFactory");
    p.put("java.naming.provider.url",
    "iiop://127.0.0.1:9010");
    initContext = new javax.naming.InitialContext(p);
    After this i am getting different error message:
    org.omg.CORBA.COMM_FAILURE:
    minor code: 1 completed: Maybe at om.sun.corba.se.internal.iiop.IIOPConnection.purge_calls(Unknown Source)
    at com.sun.corba.se.internal.iiop.ReaderThread.run(Unknown Source)
    Looking forward a proper solution
    for this problem.
    Thanks in advance.
    Regards,
    James Arun

    I have find the code to specify the naming context property to access another host
    Properties props = new Properties();
    props.setProperty("java.naming.factory.initial",
    "com.sun.enterprise.naming.SerialInitContextFactory");
    props.setProperty("java.naming.factory.url.pkgs",
    "com.sun.enterprise.naming");
    props.setProperty("java.naming.factory.state",
    "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
    // optional. Defaults to localhost. Only needed if web server is running
    // on a different host than the appserver
    props.setProperty("org.omg.CORBA.ORBInitialHost", "localhost");
    // optional. Defaults to 3700. Only needed if target orb port is not 3700.
    props.setProperty("org.omg.CORBA.ORBInitialPort", "3700");

  • Reference to the main Applet

    Hi,
    how can I give another applet a reference to me at a function call.
    The "this" variable only gives a reference to the sending component, but I want to give a function a reference to "Applet" itself, so that the other applet can call functions from "me" like "firstapp.setvalue(1)".
    Thanks a lot
    M.Sonst

    JMenuItem menuItem = (JMenuItem)e.getSource();
    JPopupMenu popup = (JPopupMenu)menuItem.getParent();
    JFrame frame = (JFrame)SwingUtilities.windowForComponent(popup.getInvoker());

  • Plz, tell me How can i solve the -- start:applet not initilized error..

    Here is my code
      * Sigmoid Function Generator
      * @author
      * @version
    *<applet code="Sigmoid" width=500 height=500></applet>
    import java.awt.*;
    public class Sigmoid extends java.applet.Applet implements Runnable
        private static final long serialVersionUID = 5622349801036468572L;
       boolean finished = false;          //indicates when the curve has been completed
       double k = .025;                   //non-linearity constant
       double y = k / 4;                  //output value
       double x = 0;                      //input value
       double dx = k / 10;                //plotting (or look-up table) increment
       int s = 200;                       //pixels per unit real (scaling factor)
       int H = 0, V = s - 1;              //window co-ordinate of graphical origin
       int X, Y;                          //dimensions (in pixels) of the applet window
       Image I = null;                    //reference for an off-screen image I
       Graphics i = null;                 //graphics context for the off-screen image
       long TF = 50;                      //total Time Frame for plotting update cycle
       long T;                            //time at which the next new cycle is due to begin
       Thread plotting;                   //declare a thread reference variable
       Font font;                         //and a font reference for annotations
       Color tr;                          //trace colour
       boolean TypeFlag = false;          //set for unipolar presentation
       public void init()
          {                                         //INITIALISE THE APPLET
          int Xy, Yx;                                 //co-ords of axis labels
          tr = new Color( 0, 128, 64);                //create special dark green for trace
          font = new Font("Dialog", Font.PLAIN, 12);  //choose the lettering font for this applet
          Dimension d = getSize();                    // instead of size() use this method, get size of window as given in HTML applet tag
          X = d.width; Y = d.height;                  //establish window width and height
          I = createImage(X, Y);                      //create the off-screen image I
          i = I.getGraphics();                        //graphics context reference for off-screen image
          if(getParameter("type").equals("bipolar"))
              {                                       //if applet parameter 'type' = 'bipolar'
             TypeFlag = true;                         //set the TypeFlag true;
             k = .011;                                //non-linearity constant
             y = 0;                                   //output value
             x = 0;                                   //input value
             dx = .0025;                              //plotting (or look-up table) increment
             s = 100;                                 //pixels per unit real (scaling factor)
             H = 100; V = 100;                        //window co-ordinate of graphical origin
             Xy = V + 10; Yx = H - 10;                //co-ords of axis letters
          else
             {                                         //if doing a unipolar graph
             Xy = V - 5; Yx = H + 5;                  //co-ords of axis letters
          i.setColor(Color.lightGray);                //set background colour for the off-screen image
          i.fillRect(0, 0, X, Y);                     //paint background of off-screen image
          i.setFont(font);                            //set up the annotation font
          i.setColor(Color.gray);                     //set colour for drawing the graph axes
          i.drawLine(0, V, X, V);                     //draw x axis
          i.drawLine(H, 0, H, Y);                     //draw y axis
          i.setColor(Color.black);                    //set colour for lettering
          i.drawString("X", X - 10, Xy);        
          i.drawString("Y", Yx, 10);                  //print the X and Y axis letters
          i.setColor(tr);                             //set colour to paint the trace on image
          T = System.currentTimeMillis() + TF;        //set end time for current update time frame
       public void paint(Graphics g)
       {         //set up the graphics
          g.drawImage(I, 0, 0, null);          //(re)draw from the off-screen image I
       public void update(Graphics g)
            {                                            //PLOT THE SIGMOID GRAPH
          if(x > 1 || y > 1)                   //if plot has reached edge of graph
             finished = true;                  //set the 'finished' flag
          else {                               //if not yet finished plotting graph
             int h = (int)(s * x);             //convert horizontal plot to pixels
             int v = (int)(s * y);             //convert vertical plot to pixels
             g.setColor(tr);                   //set colour to paint the trace on screen
             int a = h, b, c = V - v, d;       //simplify pixel co-ordinates
             if(TypeFlag)
                a = H - h; b = H + h;          //simplify pixel co-ordinates
                c = V + v; d = V - v;
                g.drawLine(b, d, b, d);        //do next plot in lower left quadrant
                i.drawLine(b, d, b, d);        //do next plot in lower left quadrant
                y += k * (1 - y);              //advance the output difference equation
             } else
                y += k * y * (1 - y);          //advance the output difference equation
             x += dx;                          //advance the input value
             g.drawLine(a, c, a, c);           //do next plot in upper right quadrant
             i.drawLine(a, c, a, c);           //do next plot in upper right quadrant
       public void run() {                            //run the plotting thread
          while(true) {                               //permanent loop broken by external event
             if(!finished) repaint();                 //if not yet finished, do next plot
             long s = T - System.currentTimeMillis(); //get time remaining in this cycle's time frame
             if (s < 5) s = 5;                        //in case host PC is too slow for ideal trace speed
             try {
                 Thread.currentThread().sleep(s);    //sleep for remaining time
             catch (InterruptedException e)
                 System.out.println(e);
                                                        //allow browser events to break the thread
                 }                                        //happens if you return to applet's HTML page
             T = System.currentTimeMillis() + TF;     //set finish time of next time frame
       public void start() {                          //Start program thread by
          plotting = new Thread(this);                //creating the thread object
          plotting.start();                           //and starting it running
       }                                              //[returns a call to run()]
    // public void stop() {plotting.stop();}          //Stop program thread
    private volatile Thread blinker;
        public void stop() {                           // new method to stop thread
            blinker = null;

    Hi there Abdullah ch,
    You may find the information in the article below helpful.
    iOS: Understanding Restrictions (parental controls) 
    Important: If you lose or forget your Restrictions passcode, you'll need to perform a factory restore to remove it.
    -Griff W.  

  • Opening/closing References in TS-engine does not work as expected, so creating memory hooks. Any solutions?

    Hi!
    As my project had grown beyond the point where I could keep a global overview, I tried creating atool that dynamically creates a kind of hirarchy for my TS libraries. It runs quite well for a small test setup, but crashes due to missing memory for the whole project. Any ideas?
    A short description: I do all coding in LV7.1.
    * Firts I open an automation refnum to TS.Iengine and invoke the method 'GetSequenceFileEx' with the path to my main seqfile, Flags = 0 and conflicthandler_Error.
    * Than I use that sequencefile object to invoke the method 'Getsequence' with an index of 0 (assuming this beeing the 'MainSequence').
    * For the returned sequence object I invoke the method 'GetNumSTep', which is fed into a For-Loop. Inside that loop, the very same object reference is used to:
    - invoke 'GetStep' with the loop index
    - with the step object i get some proiperties like Name, some expression and bolean values. If the step 'can_Specify_module', I invoke 'GetDescriptionEx', before the step object is closed (cvlose reference vi)
    - I also invoke 'Parameters' on the step object. The parameter reference is used to access the property 'getLocation', which than is used as lookupString to access the property 'GetNumSubProperties', which I take as number of parameters of that step. Finally the parameters reference is closed
    * The reference to the sequence object is closed after the for loop.
    I fianlly get an array of description for all steps in the sequence file, in the order they are called from mainsequence there.
    This array is used to recursively add a similar subarray for any subsequence call in it, until all calls are resolved (using a while loop that runs until the loop counter reaches the number of steps in the step description array).
    The array is than scanned for 'typical' errors of mine like wrong parameter number at subsequence calls, missing/misspelled subsequences andf so on.
    The LabVIEW execution accumulates more than 1 GB of RAM. LabVIEW itself reports just some 100kB of used RAM. So I assume the difference is RAM used by TS as a child process in LV. What can be done?
    A vi with this code is provided (AS IS!).
    Attachments:
    SeqFileAnalyser.zip ‏192 KB

    Hello Lul,
    I tried out you tool and took a quick look at it and it ran fine. I did notice that LV memory grows during execution but only a few kb with a standard demo from TS (the increase is about the same size as the file being saved at the end). This is expected bahavior since results are being stored in memory during execution. When it is done, my mem goes back to about what it used to be before running. 1 GB of Mem seems to be very very very high! Did you expect it to be like this? How big is your txt file being created? Is the VI you posted exactly what you are using or do you have additinal loops that make the VI run continuosly and save to txt after multiple runs? I did not see any critical issues with your VI but I also did not go into your code in debth.
    As long as you close all your TS references in LV, you should not havbe any mem leaks.
    If you expect big fiole to be created, your PC will use up all RAm then use Virtual mem, the size for Virtual mem can be set in the Control Panel in Windows, usually tough, the system can set it dinamically, this might help you avoid crashe.
    Hope this helps
    Nick

Maybe you are looking for

  • Pages 5.0 : impossible to paste an image in the header

    hi, with the previous version of Pages, you can paste an image in the header to get it on every page. Now it seems to be impossible. Does anyone found a solution ? Thanks.

  • Photoshop CC 2014 keeps crashing

    I've downloaded and installed Photoshop CC 2014. It all looks OK but when I open an image, photoshop crashes. I get the message 'Adobe Photoshop CC has stopped working'. I'm running Windows 8, so not sure if it's a Photoshop issue or Windows issue. A

  • How to verfiy the http compression

    Hi, I'm using Sun ONE Web Server 6.1, and have configured it to compress the content on demand. I received the following http response, but in both cases of turning on/off the compression on demand. HTTP/1.1 200 OK Server: Sun-ONE-Web-Server/6.1 Date

  • Can i get IDOC to File scenario Step-by-Step Procedure?

    can i get IDOC to File scenario Step-by-Step Procedure? please provide me the step-by-step and hole procedure..please. Tks

  • Folder in Dock: how to Open in Finder by default?

    Hi Folks, In Leopard, when one has a folder in their Dock, one now has a multitude of viewing choices: Fan, Grid, Stack, etc. Many Tiger users simply want it to "Open in Finder" which would open a new Finder window. Is there any way to enable this pe