I need an example about object libraries

hi all,
I use oracle forms 10 in windows xp sp2, I'm new in forms i need a link or doc to implement
object libraries (for practice), any help i greatly appreciated
thanks & regard
Edited by: user10947262 on May 5, 2010 3:09 PM

There are code examples given in the API docs:
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JOptionPane.html
or
http://www.google.com/search?hl=en&safe=off&q=JOptionPane+example&btnG=Search

Similar Messages

  • I need an example about JOptionPane?

    hey
    greetings
    i need a a small example (Program)about Making a JOptionPane
    thank you

    There are code examples given in the API docs:
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JOptionPane.html
    or
    http://www.google.com/search?hl=en&safe=off&q=JOptionPane+example&btnG=Search

  • I need an example about loading java method to Oracle

    Hi,
    Could anyone give me an simple example of a Java method which will be loaded into Oracle.
    Let say, the method will read the email address based on employee_ID from a table called Employee. Thank you very much for all your help.
    Hellenie
    PS: I would like to see java code and to see how it could call a table without having to deal with connection object ,statement,etc...

    PS: I would like to see java code and
    to see how it could call a table without
    having to deal with connection
    object ,statement,etc...A Java Stored Procedure still uses JDBC to talk to the database just like on the client. The difference is that instead of making a remote connection (from client to server), your connection is local and is obtained via the url
    DriverManager.getConnection("oracle:jdbc:kprb:@");
    If you don't want to use a Connection, Statement, Resultset, etc, you may wish to use PL/SQL. One of the advantages of Java Stored Procedures is it uses the same JDBC calls as you do on the client, so it makes it easier to move code from client, to app server, to database tier.
    Hope this clears things up a bit,
    Rob
    null

  • Need a example about calling cobol by java?

    hi all,
    who can post a exampe about call cobol by java, thanks a lot.

    I have found it.
    CobolProgramCIPFFTBN cobolCIPFFTBN = (CobolProgramCIPFFTBN) getDynamicComponent(CobolProgramCIPFFTBN.class);
    CobolCopybookCICFFTBN fftbn = cobolCIPFFTBN.getCobolCopybookCICFFTBN();
    //Set the input values of the COBOL Copybook.
    fftbn.get_INPUT_WRK().set_CREDIT_DT( businessDate );
    fftbn.get_INPUT_WRK().set_DEBIT_DT( businessDate );
    fftbn.get_INPUT_WRK().set_INCLUDE_BACKDATED_FT_SW(Bool.TRUE);
    fftbn.get_INPUT_WRK().set_SA_ID(pSa.getId().getIdValue());
    // Call cobol program
    cobolCIPFFTBN.callCobol();

  • Need an example about Yokogawa 7651's labview VI

    hi, highly respected gurus:
               I am a new guy of labview, and now I need to use Yokogawa 7651 and Keithley 196 to make an I-V curve to perform the restistance measurment. That's to say, I need to tell tell my Yokogawa 7651 to produce an voltage sweep from -2 volt to 2 volt, the voltage step is 0.1 volt, and the time between two suceesivly steps is 100 ms.
               Tried to download the Yokogawa 7651 labview driver from NI website, but it seems a bunch of subvi. And I didn't manage to use those tiny vi's to  achive my voltage sweep. Are there anybody have experience of using labview to control Yokogawa?
               Thanks in advance.
               Best regards.
    Solved!
    Go to Solution.

    hi, K C:
             Thanks so much. I used the VI you posted. It does control the Yokogawa. The driver provided from NI doesn't work at all ( I guess that one doesn't use VISA)
              I will try to use the VIs that you provides to build a high precision resistance meter, i.e., I will ask the Yokogawa to make a DC voltage sweep from 0 to 1.2 volts (0.1 volt each step). I have only one Yokogawa 7651, I don't know whether I can use Yokogawa 7651 output voltage to the DUT and measure the currrent sinked by the DUT simutaneously ( I guess not). So I think I should use another current meter (I have another Keithley current meter)
              Thanks again.

  • Converting object libraries from indesign 2.0 to CS3

    Hi !
    I work for a company which needs to convert the object libraries created on Indesign 2.0
    to work on Indesign CS3. Is there a way to do that? Object libraries are compatible within Indesign versions?
    regards
    Cicero Lira

    I created an object library on Indesign 2.0 and did the conversion to work on CS3. But the program crashes during it. I had success when i tried to open the library on Indesign CS.
    It works perfectly. But, when did the conversion from CS to CS3 it occurred the same problem ( the crash). Í downloaded the CS3 updates ( I'm using 5.0.3 version) and my OS is windows XP.

  • Need information about script libraries

    I need information about script libraries, any websites or documentation will be appreciated

    Can you clarify what you are asking for? What sort of scripts do you want? There are plenty of scripts posted in these forums. Tom Kyte generates numerous scripts a day (http://asktom.oracle.com).
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Do object libraries need to be compiled?

    Hi,
    I've created an object library. I then drag the object from the library to 20 different forms using the subclass option, regenerate them and then try to run the application using any of these 20 forms. I then made a mod to the object library, updated it and moved it back to our solaris server. Now, my 20 forms don't recognize the change that I made in the object library. My question is do I have to "compile" the object library in order for the application to "see" the changes I made? It's my understanding that an Object library is read in at runtime, but wouldn't it need an executable version of the object library. If I do need to compile it, how do I do it?
    Thanks
    --Joey                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    object libraries don't need to be compiled. It seems that you broke the inhertitance between the items and the object library. Try and go to one of the itemens and check if this items still shows to be subclassed. Redo the inheritance and see if this works.
    Frank

  • Find some examples about pthread by objective-c

    hello,
    Now I am studying pthread. But I can't find some examples about pthread by objective-c. The example is pass to bulid and run. Example is twoThread which can communicate each other. I will still find. If you know some useful infomation,would you support some?
    Thank you very much!

    Hi qzxin-
    Several examples of DAQ programming install with Measurement Studio for Visual Studio .NET. DAQmx examples can be found in this folder of your hard drive: C:\Program Files\National Instruments\MeasurementStudioVS2003\VCNET\Examples\DAQmx . For analog measurements, the syntax for adding multiple physical channels to the operation is "DexX/ai0:n" where X is the device number and n is the last channel in the list.
    Can you let us know more about which DAQ device and which version of Measurement Studio you're using? It would make it easier to suggest an example.
    Thanks,
    Tom W
    National Instruments

  • Do I need to worry about these event handlers in a grid from a memory leak perspective?

    I'm pretty new to Flex and coudn't figure out how to add event handlers to inline item renderer components from the containing file script so I attached the listnerers simply as part of the components themselves (eg <mx:Checkbox ... chnage="outerDocument.doSomething(event)"../>):
    <mx:DataGrid id="targetsGrid" width="100%" height="100%" doubleClickEnabled="true" styleName="itemCell"
          headerStyleName="headerRow" dataProvider="{targets}"
          rowHeight="19" fontSize="11" paddingBottom="0" paddingTop="1">
         <mx:columns>
         <mx:DataGridColumn width="78" dataField="@isSelected" headerText="">
         <mx:itemRenderer>
              <mx:Component>
                   <mx:HBox width="100%" height="100%" horizontalAlign="center">
                        <mx:CheckBox id="targetCheckBox" selected="{data.@isSelected == 'true'}"
                             change="outerDocument.checkChangeHandler(event);"/>
                        <mx:Image horizontalAlign="center" toolTip="Delete" source="@Embed('/assets/icons/delete.png')" useHandCursor="true" buttonMode="true"
                             click="outerDocument.deleteHandler(event);"/>
                        <mx:Image id="editButton" horizontalAlign="center" toolTip="Edit" source="@Embed('/assets/icons/edit-icon.png')" useHandCursor="true" buttonMode="true"
                             click="outerDocument.editHandler(event);"/>
                   </mx:HBox>
              </mx:Component>
         </mx:itemRenderer>
         </mx:DataGridColumn>
              <mx:DataGridColumn id="Name" dataField="@collectionDesc" headerText="Name" itemRenderer="com.foobar.integrated.media.ui.component.CellStyleForTargetName"/>
              <mx:DataGridColumn id="Created" width="140" dataField="@createDateTime" headerText="Created"  labelFunction="UiHelper.gridDateFormat" />
         </mx:columns>
    </mx:DataGrid>
    This grid is part of a view that will get destroyed and recreated potentially many times during a user's session within the application (there's a large dynamic nature to the app and views are created at run-time.) By destroyed I mean that the view that holds the above datagrid will no longer be referenced under certain circumstances and an entire new view object is created (meaning the old datagrid is no longer refernced and a new one is created.)
    I heard you should clean up event handlers when they are no longer used, and I know at what point the view is destroyed, but I don't know how to clean up the event handlers added to the item renderer components? Is it something that the Flex garbage collector will handle efficiently?
    Also, on a somewhat related note, how could I push the item renderer to an external component since in my event handlers for the item renderer buttons I need a reference to the datagrid.selectedIndex which, as an external item renderer I wouldn't have access to this containing grid?

    No. You don't need explicit cleanup in this case: if your outerDocument is going away, you have nothing to worry about. The event handler leak can happen in sort of the reverse situation: suppose you have a long-lived MyView that contains a custom DataGrid like the one below. Now suppose that MyView frequently destroys and re-creates the grid. And suppose that on its creationComplete event, the grid registers a listener for outerDocument's (MyView's) enterFrame Event. Unless you explicitly remove this listener, MyView will still have a reference to it even after the grid that registered the listener is destroyed (and garbage collected).
    This is a pretty contrived example, but it sort of illustrates the potential for leaks: a certain component is elligible for garbage collection, but some longer-lived component holds a reference to it (or part of it, such as a listener function). If the longer-lived component is elligible for GC as well, you don't really need to worry about proper cleanup. That's what you're paying the GC processor cycles for.

  • I need some information about jre 1.5 and jre 1.6.

    Hello guys,
    I need some information about jre 1.5 and jre 1.6.
    Suppose if i have jre 1.5 customized with "additional language support" installed in my my desktop, and later on i install jre 1.6. will this jre over write all the esisting settings which was present in jre 1.5?
    In short will the version upgrades disable the features of the old Version even though the old version is present in the desktop?
    Thanks in advance for your answers.

    In <2j_j3.1889$[email protected]> =?iso-8859-1?B?VG9t4XMgU3XhcmV6?= writes:
    > Hi all, I am developing an acquisition data system for biomedical
    >signals and I need to transmit this data from my hardware to PC using the
    >USB port. For this, I am writing a device driver for Windows 98
    ^^^^^^ ^^^^^^ ^^^^^^^ ^^
    That's not a trivial step. I would write a small C/C++ program that
    exercises your driver (for robustness) just to be sure it's working
    right first without crashing your system.
    >The problem is that I don't know to use this driver in LabView.
    >For now, I think to use a "code interface node" with code writen in C or a
    >"call library function" with a DLL.
    That's correct. _After_ you got your C/C
    ++ test program (and USB
    driver) above working, then you can convert this little test program
    into a DLL or CIN, which can interface with LabView. A DLL might be
    easier (slightly) to write, but the CIN will work faster with LabView
    and can be designed to be reentrant. The Code Interface Reference
    Manual should guide you. Remember, this is a task for an _experienced_
    C programmer. You'll need to use handles to pointers into all your
    dynamic arrays and such passed into LabView.
    After you got your CIN or DLL written, you can use a special CIN
    function node to "link" (or bind) your CIN object into LabView's VI
    diagram.
    SOME THOUGHTS:
    There are many hardware devices already on the market today that come
    with Windows 98 drivers and DLL (or even CIN) libraries that would work
    immediately with LabView. Why don't you save yourself three months of
    work and simply buy one of these?
    /\ Mark M Mehl, alias Superticker (Supertickler to some)
    <><> Internet: [email protected]
    \/ Preferred
    UUCP: uunet!iastate.edu!mehl
    Disclaimer: You got to be kidding; who would want to claim anything I said?

  • I NEED TO KNOW ABOUT DRIVING TABLE...PLEASE

    Well, My name is Adan. I am from Panama.. my english is not
    good. But I'll try. I need to know about driving tables and how
    have to choose a driving table and how optimizer proccess an sql
    statment.
    Example:
    Employees have (1,000,000 rows),
    dept have (100 rows)
    Category have (100 rows)...
    I need retrieved all employees with category and dept name for
    those employee with salary > 100000
    Well, What is the driving table and where i have to put this one
    in the from clause ? What about order in the where predicate...
    First ?
    Select E.name, C.category, D.Departement
    from Employees e, dept d, category c
    where
    and d.cat = c.cat
    and e.deptno = d.deptno
    and e.salary > 100000
    Last ?
    Select E.name,C.category, D.Departement
    from dept d, category c ,Employees e
    where
    and d.cat = c.cat
    and e.deptno = d.deptno
    and e.salary > 100000
    I apreciate your help....Thanks and sorry for my english....
    Bye..

    Adam,
    If you set your optimizer = choose and analyze the tables and
    indexes to generate statistics, then your system can use the
    Cost Based Optimizer (CBO) and, like David said, it will
    automatically choose the best access path, and the order of
    things will not matter.
    If your optimizer is not set to choose or if there are no
    statistics, then it will use the Rule Based Optimizer (RBO), in
    which case, the only thing that matters is the order of the
    tables in the from clause. When using RBO, the driving table
    should be at the end of the from clause, in the right-most
    position. The driving table is the one such that, after the
    restrictions have been applied, returns the smallest number of
    rows. You would have to compare the number of rows in the
    employees table where salary > 100000 to the number of rows in
    the dept table (100) and the number of rows in the category
    table (100).
    In RBO, if there are more than 100 rows in the employees table
    where salary > 100000, then your from clause would be:
    FROM employees e, dept d, category c
    In RBO, if there are less than 100 rows in the employees table
    where salary > 100000, then your from clause would be:
    FROM category c, dept d, employees e
    This is all that applies to the example you have given, however
    there are other things that can apply in other situations. For
    example, if there is an outer join to a table, the table that
    has the (+) cannot be used as the driving table.
    Barbara

  • Need detailed information about u0093CALL CUSTOMER FUNCTIONu0094.

    Need detailed information about “CALL CUSTOMER FUNCTION”.

    Hello Ayan
    “CALL CUSTOMER FUNCTION”. is the old version of
    customer exits. Using transaction SMOD you can see which customer exits SAP provides. Using transaction CMODyou can see the enhancement projects which make use of these SAP enhancements. 
    SAP enhancements consist of different components: function modules, screens, etc.
    For example, SAP enhancement CATS0001has a single component, function module EXIT_SAPLCATS_001. This function module is called within include LCATSF54:
    *&      Form  READ_WORKLIST_FROM_EXIT
    *       Read worklist from customer exit                               *
    FORM read_worklist_from_exit.
      DATA: l_catsw TYPE catsw_tab.        "XZQAL0K061795
    *----------------Beginn XZQPL0K017888----------------
      DATA: l_icatsw_fix LIKE catsw OCCURS 0.          "XZQPL0K017888
    * Sichern der ICATSW_FIX, damit mögliche Änderungen aus
    * User-Exit/Badi rückgängig gemacht werden können.
      l_icatsw_fix = icatsw_fix.
    *----------------Ende XZQPL0K017888----------------
      CALL CUSTOMER-FUNCTION '001'
           EXPORTING
                sap_tcats      = tcats
                sap_pernr      = catsfields-pernr
                sap_dateleft   = catsfields-dateleft
                sap_dateright  = catsfields-dateright
                sap_datefrom   = catsfields-datefrom    "XZQPL0K017888
                sap_dateto     = catsfields-dateto      "XZQPL0K017888
           TABLES
                sap_icatsw     = icatsw
                sap_icatsw_fix = l_icatsw_fix           "XZQPL0K017888
           EXCEPTIONS
                OTHERS        = 1.
    *-------------Beginn XZQAL0K061795 Worklist-Badi in CATS -------
      IF badi_worklist IS INITIAL.
        CALL METHOD cl_exithandler=>get_instance   "Aufruf der Factory-
           CHANGING instance = badi_worklist.      "Methode
      ENDIF.
      l_catsw = icatsw[].
    * Restaurieren der l_icatsw_fix für das Badi, falls sie
    * doch im User-Exit geändert worden ist.
      l_icatsw_fix = icatsw_fix.                  "XZQPL0K017888
      CALL METHOD badi_worklist->get_worklist    "Aufruf des Add-Ins
        EXPORTING
          sap_tcats      = tcats
          sap_pernr      = catsfields-pernr
          sap_dateleft   = catsfields-dateleft
          sap_dateright  = catsfields-dateright
          sap_datefrom   = catsfields-datefrom    "XZQPL0K017888
          sap_dateto     = catsfields-dateto      "XZQPL0K017888
        CHANGING
          sap_icatsw     = l_catsw
          sap_icatsw_fix = l_icatsw_fix.          "XZQPL0K017888
      icatsw[] = l_catsw.
    *-------------Ende XZQAL0K061795 Worklist-Badi in CATS -------
    ENDFORM.                               " READ_WORKLIST_FROM_EXIT
    In this routine you can see the most up-to-date version of customer exits:
    BAdIs (Business AddIns). Inbetween SAP has developed BTEs(transaction FIBF) which are basically dynamically called function modules. 
    Regards
      Uwe

  • What do i need to do about a server ??, what do i need to do about a server ??

    i  cannot facetime due to a server error

    What do I need to know about memory leak in java
    program? Any suggestion?Use a profiler or java -verbose:gc to have a look at
    the memory consumption during runtime. If it steadily
    increases, even if it shouldn't, you have a memory
    leak and "retired" objects aren't freed for GC. The
    profiler could help you to find out where it happens.I tried java -verbose gc while my application is still running. I got a lot of [Loaded java......]. The following is a sample of the result after running java -verbose gc.
    [Loaded java.security.PrivilegedActionException from shared objects file]
    [Loaded java.io.IOException from shared objects file]
    [Loaded java.io.FileNotFoundException from shared objects file]
    [Loaded sun.misc.URLClassPath$FileLoader from shared objects file]
    Exception in thread "main" java.lang.NoClassDefFoundError: gc
    [Loaded java.lang.Shutdown from shared objects file]
    [Loaded java.lang.Shutdown$Lock from shared objects file]
    How do I diagnose if the memory consumption is steadily increase?
    Thank you very much!

  • What does a BI Developer need to know about SAP tables and why?

    Hi,
    i.
    As a BI Developer, to what extent do you need to know about SAP tables?
    e.g. if you work mainly in the functional areas LO and FI
    ii.
    For example, I know that in Finance, GL relates to the tables BSEG and BKPF.
    And if it is important to know about them, then which other tables need to be known and for what reasons?
    e.g. do I need to know all these tables: http://www.erpgenie.com/sap/abap/tables_fi.htm
    iii.
    I thought as a BI Developer, knowing that a particular datasource, e.g. 0FI_GL_4 contains line items is enough and you replicate it to BW and work with it. Why is there the need to know the tables from which this datasource gets is data?
    iv. What is the main difference between the FI datasources and the LO datasource?
    Thanks.

    Hi,
    i.  As a BI Developer, to what extent do you need to know about SAP tables?
    e.g. if you work mainly in the functional areas LO and FI
    Not required, but today business demands so you required this Knowelgde.
    ii.
    For example, I know that in Finance, GL relates to the tables BSEG and BKPF.
    And if it is important to know about them, then which other tables need to be known and for what reasons?
    e.g. do I need to know all these tables: http://www.erpgenie.com/sap/abap/tables_fi.htm
    We can't say yes or No, so based on your requirement you need to sit with Functional COnsultanst and the understand the Business Requirements and develop the OBjetcs.
    iii.
    I thought as a BI Developer, knowing that a particular datasource, e.g. 0FI_GL_4 contains line items is enough and you replicate it to BW and work with it. Why is there the need to know the tables from which this datasource gets is data?
    If you want to know the data flow and reconsilization then you need to know it else not required
    iv. What is the main difference between the FI datasources and the LO datasource?
    Yes, one main difference is There is no setup table concept for FI DataSource*
    Note: If you want to become a good BW consulatnt you must know about Tables for normal BW consultant it is not required.
    Thanks
    Reddy

Maybe you are looking for