JTable Javabean in Forms 6i (6.0.8.11.3)

All,
Am trying to show up a JTable in forms6i module. I had my .jar files and java file copied to right places, Included a BEANAREA item to a DBlock, set the implementation class pointing to the proper class.
When i tried to open the beanarea item in my layout. The forms is crashing.
1) Is there a specific patch for forms 6i do i have to install ??
2) Forms 9i/10g is working fine for the above example. Is there a diff way for forms 6i ??
If somebody could pour some insights on this.. then that would be much much appreciated..
Thanks
- Karthik Dhinakaran

France / Gerd
Thanks for the replies.
The intention is to bring a grid kind of control in forms. So that multiple selection of rows can be made for a specific operation.
France - Thanks for the idea to look at the java console. Will try that and post it here.
2 years back , when working with GE, Indiana. We used a similar technique. I thought of marking a difference in the form which we work day to day. Also it's very useful in handling the multiple items. I have the code, it's workign in forms 9i/10g but i need to implement the same in forms 6i.
Your feedback will be much much much appreciated. Infact will be greatful !
Message was edited by:
[email protected]

Similar Messages

  • How to use javabean in forms e.g.Jcalender in forms?

    hey all....
    I am using FORMS 10G and java plug-in 1.4.2 for adding javabean in forms and fallowing changes
    1) Installed JRE 1.4
    2)copied Jcalender.jar in /forms/java
    3)edit /forms/server/formsweb.cfg as fallows
    baseHTMLjpi=basejpi.htm
    archive=frmall.jar,Jcalender.jar
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    jpi_classid=clsid:CAFEEFAC-0014-0002-0000-ABCDEFFEDCBA
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-win.cab
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2
    4)load module Jcalender.fmb in form builder
    5)Register the path of 'Jcalender.jar' file where it is stored, in 'FORMS_BUILDER_CLASSPATH'
    5)import java class 'Jcalender.jar' from Program in menu bar
    6)Then it give an exception
    Importing Class oracle.forms.fd.Jcalender...
    Exception occurred: java.lang.UnsupportedClassVersionError: oracle/forms/fd/Jcalender (Unsupported major.minor version 49.0)
    help will be appreciated..plz
    Thank in advance..

    Hi..
    Thanks 4 ur suggestion.
    I am using forms 10.1.2.0.2.i am compiling it on my local m/c.
    Jcalender is not working but the method of all javabean is almost same.
    i can use laf.jar with template 'laf_template.fmb.
    will u plz tell me the steps to use javabean(with plugin ) and suggest the version.
    thanks a lot. Expecting reply..
    bye..

  • How to use JavaBean in Form Builder 6i

    Hi,
    How to use JavaBean in Form Builder 6i (Oracle Developer 6i)?.
    i'am using Oracle Sever 8.0.4 and Oracle Developer 6i.
    Please give your valuable suggestion
    Regards
    Seema

    I would suggest you start with the sample Java bean code we have
    on otn.
    http://otn.oracle.com/products/forms
    go to the sample code section.

  • How to setup a javabean on form to let user loading to client PC

    What is the step-by-step to create a javabean on form and how to set the properties on the javabean (TextItem) which
    can let user loading/save the output file to his/her PC drive instead of to the server drive. On my form I used Text_IO, it worked fined only if you run the form on client/server environmnet but when you run it on the web, it output the file to server.
    Metalink told me to user do compile a java program and create the .class to jar file, I did everything accordingly, but they do not tell me how to set up on the form, I need the coding how to code everything on form on when-button-pressed trigger. Thank you very much.

    You have a modem/router or gateway type of device here. 
    It is the Arris that is acting as the main router for your network......that is why the AirPort and Time Capsule need to be in Bridge Mode.
    You need to set up port forwarding on the Arris gateway since it is the router for your network.
    Contact Arris support for details on how to configure port forwarding on the gateway.
    Once you have port forwarding setup on the Arris gateway, the AirPort and Time Capsule will pass those settings through to connected devices since they are configured in Bridge Mode.

  • JavaBeans in Forms 6.0

    I am trying to use JavaBeans in Forms 6.0. I have followed the
    directions laid out in the Oracle Developer 6.0 Reviewers Guide
    for using the JugglerBean component. Whenever I set the
    implementation class, I get an error FRM-13008: Cannot find
    JavaBean.
    Does anyone know of any documentation that exists on how to do
    this? Or has anyone else had any luck using JavaBeans within
    forms?
    Thanks for any help,
    Jill
    null

    Jill French (guest) wrote:
    : I am trying to use JavaBeans in Forms 6.0. I have followed
    the
    : directions laid out in the Oracle Developer 6.0 Reviewers
    Guide
    : for using the JugglerBean component. Whenever I set the
    : implementation class, I get an error FRM-13008: Cannot find
    : JavaBean.
    : Does anyone know of any documentation that exists on how to do
    : this? Or has anyone else had any luck using JavaBeans within
    : forms?
    : Thanks for any help,
    : Jill
    Jill - make sure that the Java classes are stored in the correct
    package structure and are placed in the directory that is
    pointed to by the FORMS60_JAVADIR registry entry. Typically
    this is \orant\forms60\java on the installation drive.
    but rest assured, it does work! It looks great to see the
    JavaBean actually display in the layout editor.
    -steve
    null

  • JTable bean in forms

    I would like to display JTable based bean in Oracle Forms 10g but I get:
    *** VBean null PropertyManager for id = FOREGROUND
    *** VBean Got FOREGROUND = null
    *** VBean null PropertyManager for id = BACKGROUND
    *** VBean Got BACKGROUND = null
    *** VBean Setting debugMode to ALL
    *** VBean Setting beanName to plusplus.PPCalendar
    *** plusplus.PPCalendar Registering properties
    *** plusplus.PPCalendar     int pWidth
    *** plusplus.PPCalendar     int pDebugGraphicsOptions
    *** plusplus.PPCalendar     int pHeight
    *** plusplus.PPCalendar     boolean pOpaque
    *** plusplus.PPCalendar     javax.swing.InputVerifier pInputVerifier
    *** plusplus.PPCalendar     Failed to introspect class: class plusplus.PPCalendar java.lang.NullPointerExceptionPPCalendar's code:
    public class PPCalendar extends JPanel
      private JTable table;
      private DefaultTableModel model;
      private JScrollPane jsp;
    public PPCalendar() {
       super();
       model = new DefaultTableModel( new String[] [] {  {"1x1", "1x2"},  {"2x1", "2x2"}}, new String [] {"First", "Second"});
       table = new JTable(model);
       jsp = new JScrollPane(table);
       jsp.setAutoscrolls(true);
       this.add(jsp);
       this.setVisible(true);
      public void setHead(String nes) {
        String val1 = (String) model.getValueAt(0,0);
        System.out.println("val1: " + val1);
      public String getHead() {
        return (String) model.getValueAt(0,0);
      }Setting property (     fbean.set_property('tb.ptable', 1, 'head', 'Blah');) fails, but I can set properties (introspection still fails) if I try something similar with:
    package plusplus;
    //import java.awt.Panel;
    //import java.awt.Label;
    import javax.swing.JPanel;
    import javax.swing.JLabel;
    public class Simple extends JPanel  {
      private JLabel naziv = new JLabel();
      public Simple() {
        try {
          jbInit();
        } catch(Exception e) {
          e.printStackTrace();
      private void jbInit() throws Exception {
        naziv.setText("XXX");
        this.add(naziv, null);
      public void setNaziv(String tekst) {
        naziv.setText(tekst);
    }What am I doing wrong? Are there some "more advanced" swing based bean examples?
    Is there some kind of documentation on oracle.ewt.* and Dynamic Bean Manager?

    The problem is that you're extending JPanel - the issue is not your fault (or ours for that matter) it's a problem in the base JPanel class which causes a NPE when introspecting the properties that it exposes because it does not conform to the JavaBeans Spec.
    We've put a WorkAround into the FBean code in Forms 10.1.2 but for the moment you will have to extend Panel rather than JPanel and all should be ok - this should make no difference to the operation of the Bean.
    Another option would be to write a BeanInfo class for your Bean and prevent the exposure of the problem property (inputMap) that way.

  • JAVA.LANG.NULLPOINTEREXCEPTION WHILE USING GETCLIENTINFO JAVABEAN IN FORM

    We are using GetClientInfo JavaBean in Oracle 6i Form registered in Oracle Applications. Earlier, when we used Jinitiator, the Form used to open properly. Recently we started using Java Plug-in 1.6.0_12 (JRE version 1.6.0_12 Java HotSpot(TM) Client VM), we get following errors and then entire application closes.
    java.lang.NullPointerException
         at oracle.forms.ui.VBean.isFocusTraversable(Unknown Source)
         at java.awt.Component.isFocusable(Unknown Source)
         at java.awt.Component.isRequestFocusAccepted(Unknown So

    Get Client Information
    http://www.oracle.com/technology/sample_code/products/forms/6idemos.html
    java.lang.NullPointerException
         at oracle.forms.ui.VBean.isFocusTraversable(Unknown Source)
         at java.awt.Component.isFocusable(Unknown Source)
         at java.awt.Component.isRequestFocusAccepted(Unknown Source)
         at java.awt.Component.requestFocusHelper(Unknown Source)
         at java.awt.Component.requestFocusHelper(Unknown Source)
         at java.awt.Component.requestFocus(Unknown Source)
         at oracle.forms.handler.UICommon.updateFocus(Unknown Source)
         at oracle.forms.handler.UICommon.setFVP(Unknown Source)
         at oracle.forms.handler.UICommon.setFVP(Unknown Source)
         at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
         at oracle.forms.handler.ComponentItem.onUpdate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onUpdate(Unknown Source)
         at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
         at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.sendDeferredMessages(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

  • JTable with JPanel form as cell renderer/editor

    I have a JTable that uses a custom cell editor/renderer. The cell editor/renderer is a JPanel form with labels and text panes. As the user edits the information, I adjust the table row height (setRowHeight) and the JPanel layout manager updates the layout on the cell editor. This all seems to work fine. However, when the user exists the cell and the cell renderer is shown, it has the correct new row height but has not been correctly layed-out for the new row height. How do I force my cell renderer to be re-layout after the editor closes?

    That does not seem to work. I have done the following:
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int r, int c)
    this.table = (EditorTable) table;
    row = r;
    column = c;
    if (isSelected)
    setBackground (Preferences.selectedRowBgColor);
    else
    setBackground (formBg);
    // constructs the panel components
    setCellValue (value);
    revalidate();
    return (this);

  • Issue JavaBeans with Forms

    Hello Everyone,
    I would like to know if someone can tell me what i'm wrong.
    I have tryed JavaBean AWTFileDialog to see how it's works inside a Forms.
    When i click button, the FileDialog open, everything looks good.
    I try to create a JavaBean with Eclipse.
    My Code
    package oracle.forms.fd;
    import java.awt.Component;
    public clas myJB extends Component {
          public string getTextSample() {
               String sText = "";
               sText = "foobar";
               return sText;
    I export to jar file in my oracle form directory.
    edited my formweb.cfg file to add myJB jar file like i've done with AWTFileDialog.
    but when i try in my form, the return value are null
    my form code.
    When-new-form-instance trigger
    FBean.Register_Bean('CTRL.BEAN', 1, 'oracle.forms.fd.ADLog');
    and i have a button to get the value like this
    cV_co_retr := FBean.Invoke_Char('CTRL.BEAN', 1, 'getTextSample');
    what i've done wrong?
    I miss something?
    thanks for help.

    Hi, thanks again for your help.
    I use JRocket 1.6.14 R27.6.5 32 bit, my Forms Developer version is 11.1.1.2.0
    i would like to sign my jar file, but i really start with this kind of dev.
    i've take a look at this link
    http://docs.oracle.com/javase/tutorial/deployment/jar/signing.html
    when i try the
    jarsigner jar-file alias 
    i get this error about unable to load .keystore file (unable to find specified file)
    how i can create keystore file? with something like this ? https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html
    keytool -genkey -alias mydomain -keyalg RSA -keystore keystore.jks -keysize 2048
    Does that mean i need to resign my jar on each domain?
    Thanks ..
    EDIT : I think i miss something, i have created my keystore file and compiler my jar with jar -cvf myjava.jar myjava.java
    Does it's possible it's because i don't have JInitiator? if i try with any other jar from this site http://forms.pjc.bean.over-blog.com/ all works good, if i try with my jar file, nothing woks.
    i have compiled created java from pjc.beans.over-blog and the jar stop working.
    so i'm really lost, what i'm doing wrong to create my jar file.
    i have tryed the 3 files given by FrancoisDegrelle to create keystroke at this link https://forums.oracle.com/thread/2154907 and it sound good, but my jar not working again.
    thanks
    Ce message a été modifié par : Neimad

  • JavaBean in Form Builder 6

    Dear Sirs,
    to enhance an old Forms 6 application I want to use the JavaBean Area- item of Form Builder 6.
    I´ve developed a Java Bean which I did export as JAR file.
    In later Form Builder versions this JAR file has to be included in formsweb.cfg. But since Form Builder 6 does not have this config file where do I have to register my JAR?
    It is already included in classpath environment variable but this does not seem to be enough. Form Builder throws the following error: "FRM-13008: JavaBean mit dem Namen 'oracle.forms.fd.GetCanvasProp' nicht gefunden" (meaning: Form Builder is not able to find the class of JavaBean Area item)
    The class was compiled as Java 1.1 class.
    Thanks in advance for any hints.
    Best regards
    Janek

    Hi!
    Do you use forms 6i on the web?
    You find the formsweb.cfg in %oracle_home%\forms60\server folder
    But the builder does not read the formsweb.cfg.
    Try to expand the FORMS60_BUILDER_CLASSPATH registry key
    in hkey_local_machine\software\oracle.
    Gruesse ...

  • JavaBean in Form 6i Client system (not web)

    Hi,
    Anybody help me, I want to use JavaBean in form6i client system to store image into oracle11g database (and retrieve also). I am really new to javaBean. I read the Help of oracle form, but I didn't understand.

    Friend can you tell me any method to insert image into oracle database 11g using form6i and retrieving it from 11g to form 6i.
    I tried by making database item, when commit statement is executed it's goes to the database and when execute_query is executed its retrieves from database, but it's very slow. I want to improve the speed.
    The column I used to store image is BLOB type.

  • JavaBean in Forms - signed JAR hangs

    Hi !
    I've a custom JAR-file containing code for my JavaBean (used in a Oracle Webform 6i). In order to allow my Bean to access an outside Database via JDBC I've signed the JAR (under Java version 1.3.0).
    When accessing my form with the embedded JavaBean the loading process hangs. When I'm using my JAR-file unsigned, I'm of course getting a security error as expected.
    How do I have to sign my JAR - so it can be loaded up correctly ? - I'm using JInitiator 1.3.1.9
    Thanks
    Alexander

    Alexander,
    most likely you are hitting a known issue that the custom certificate is not recognized if used in conjucntion with the Forms signature. The following whitepaper contains a simple work around, which is to use a hidden Applet up front.
    http://otn.oracle.com/products/forms/pdf/SigningJint13.pdf
    Hopefully this helps
    Frank

  • FRM-13008 when adding JavaBeans to Forms

    I'm keep getting a FRM-13008 "Cannot find JavaBean with name ..." when I try to set the Implementation Class for a new BeanArea in a form. Even with the demo classes I'm getting the same error. I'm using the fully qualified class names, such as oracle.forms.demos.ProgressBarPJC
    The demo class files are installed in my \orant\forms60\java\oracle\forms\demos directory. My FORMS60_JAVADIR points to \orant\forms60\java. Since it's a demo class, I know the IView interface is ok.
    Are there other causes for the 13008 error? Is there anything else I need to know or check? Any help would be greatly appreciated.

    I'm having exactly the same problem you have, and I didn't have any reply even from Oracle Italian Support, did you find the way to solve it?
    Thank you, Nicoletta Bindi
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jay Bailey ([email protected]):
    I'm keep getting a FRM-13008 "Cannot find JavaBean with name ..." when I try to set the Implementation Class for a new BeanArea in a form. Even with the demo classes I'm getting the same error. I'm using the fully qualified class names, such as oracle.forms.demos.ProgressBarPJC
    The demo class files are installed in my \orant\forms60\java\oracle\forms\demos directory. My FORMS60_JAVADIR points to \orant\forms60\java. Since it's a demo class, I know the IView interface is ok.
    Are there other causes for the 13008 error? Is there anything else I need to know or check? Any help would be greatly appreciated.<HR></BLOCKQUOTE>
    null

  • Help needed - JavaBeans in forms

    Hi there - can anyone out there help me with this?
    As part of a new project, I'll be trying to implement a JavaBean in a form; specifically, I'll be implementing the multi-select tlist bean.
    This is not something I've done before, so I'd be grateful if someone could point me in the direction of any documentation or on-line tutorials on the subject.
    Many thanks, Geoff

    otn.oracle.com/products/forms
    Look for some of the white papers and dowload the 9i demo - there is a multi select java bean in there.
    Grant Ronald
    Forms Product Management

  • Javabeans and Forms

    Are there any white papers or documentation that teaches how to create and use a javabean in Oracle Forms? I've looked at a couple of the demos but most of the documentation just seems to describe the PJC or javabean and none of the demos seem to work on the link http://www.oracle.com/technology/sample_code/products/forms/index.html. Also, the demos for 10g rel 2 are still not available. For us developers with only a little or no java knowledge the task of understanding how to use this technology with forms is pretty discouraging

    Hi Francois,
    I've looked at this site and it's pretty good and I think I might be able to get an existing bean working. The problem is that I have several developers on my project with essentially no java experience (they've taken a java class but haven't written anything outside of the class) and I'd like to get them started using this technology. How did you get startred? Some of my developers will be attending an Oracle University Forms class in mid April, but based on the class summary it doesn't appear that they even teach anything about javabeans.

Maybe you are looking for

  • IOS update

    Has anyone used the new iOS update?  What were you thinking Apple?  It was your sophisticated design and streamline ease that set you apart.  Now I feel like I'm looking at a dumb down windows screen!

  • ATTRIBUTE_MISSING_URL

    Hi XI Expert, please am very neue in XI and I want to send a message to another Xi I have done all Configuration (IR and ID) but i have this error: SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/enve

  • Mail marks mail as read before I have viewed them

    I'm using Mail for my gmail account (IMAP). When I receive a new email it is automatically set as 'read' and do not get a new message counter on the icon in the dock. This was not a problem when using POP (but IMAP works better for me so I'm keeping

  • Flyout menu area blocking access to body

    I'm building a site in Dreamweaver that my client is editing in Contribute. It uses CSS flyout menus. When we try to work on the pages in Contribute, Contribute blocks out the whole area that the menu would cover if it was fully expanded. In order to

  • Want to upgrade...finally!

    Hi. I'm using OS 10.2.8 now and I am going to upgrade. I have the system requirements to upgrade to Tiger, but does anyone know if I'll have trouble installing it without having 10.3 first?