Java-style buttons in Oracle Forms 6i

Hey there,
Does anyone know how to create buttons with curved edges in Oracle Forms 6i? Something like those Swing components in Java?
Thanks
Al

Alex,
for Forms on the web you can use PJCs. The Forms 10g demos (http://download.oracle.com/otn/other/general/forms10gdemos9_0_4_2.zip) and the Forms 9i demos have a sample Java class for this. The same solution should work in 6i as well.
Frank

Similar Messages

  • How to make picture button in oracle forms?

    can any one tell me how to make a picture button in oracle form builder?
    please help?

    Hi,
    Only a icon can be pasted on the push button. We can not user jpg,,jpeg or gif for the picture only ico file can be used.
    go to properyt pallet,
    make iconic as yes
    give the path in icon filename --- C:\Program Files\Winamp\eMusic\eMusicClient
    where eMusicClient is -- icon file name without extension, dont use " " in path
    bye

  • Error : java.lang.VerifyError: (class: oracle/forms/fd/JCalendarJinit$1,..

    Hi,
    How to solve this error:
    java.lang.VerifyError: (class: oracle/forms/fd/JCalendarJinit$1, method: <init> signature: (Loracle/forms/fd/JCalendarJinit;)V) Expecting to find object/array on stack
         at oracle.forms.fd.JCalendarJinit.<init>(JCalendarJinit.java:66) ............
    I edited the JCalendarJinit.java file for the JCalendar control for the Oracle Forms, I created the jar file, and when using in the forms, i am getting this error when running the oracle form,
    I read, it may be version problem, How can I set the Java version to 1.3 for this java file.
    Thanks in advance,

    Jacob,
    I have received complaints from users, that have got this error on some beans while migrating to Forms 10.1.2.3, even with Sun 1.6 plug-in.
    The beans worked fine with 10.1.2
    Francois

  • How to embed excel in java bean area on oracle forms 9i?

    Hi,
    I am trying to embed excel in oracle forms 9i using java bean. I want to open excel sheet in the bean area not as seprate application. Means i donot want to excel running separately from forms on the machine.
    If any body knows the solution please reply.
    Best regrads,
    Shiraz

    Hi
    Is it possible to create a java bean, with a click event which populates data from database table to an excel sheet.
    The data(can be obtained in a string format with delimiters, but can anyone help me in exporting this into an excel sheet). and also to provide user to take prints of the data in the excel sheet.
    If Print of the JTable could be done(by settin printable as this), but this involves unwanted buttons to be printed, and entire table is not available in the spread sheet format.
    Thanks in Advance
    Deepa

  • Accesing Java Sever Page from Oracle forms 9i

    hello,
    i implemented a form with one button, one bean area..
    after pressing that button, i have display one jsp file in that bean area...
    can anyone give me what r the requirements....
    if possible give one example... very urgent..
    Naresh

    Hi ,
    Thanks for replying. Let me explain the issue again.
    I have my Forms application in Oracle Forms 10g using Forms builder 10.1.2 and deployed on the Oracle Application Server 10.1.2
    I have got this java utility that is a bunch of jsp/html files and jar files and basically what this utilty does calls the scanner and transfer scanned image to the DB. This is an indepent java project I got from outsource and not deployed to an EAR or anything.
    Now from one of my Forms, I want to call this utility and I think to get this independent utility to run I have to call its index.jsp. So I think we do this using web.show_document. Also I have to make sure the security is maintained. So the user who logs in should only use this jsp.
    If I get this utility to work in a seperate browser then I can do the necessary actions and close it and return back to my form.
    But my questions, the utility is a bunch of loose jsps and jar files so where do I place these files in the Application server so that my Form can call it using a url.
    2) How do I achieve the secure access to the jsp as well
    3) How do I pass the parameters to this jsp.
    I have not run the jsp from my desktop so don't know that either. This utility has to be placed on the Application Server itself becauseits going to be used by many users.
    Please help.
    Thanks

  • To set access key for push button in oracle forms 11g

    Dear Team,
    I have following setup:-
    We are using oracle database 11gR2
    Oracle Forms & reports : 11.1.2
    O.S : Windows 7 Professional
    We have migrated oracle forms version from 6i to 11g
    In oracle forms 6i in save button's property palette we set access key as 'S', so when we press alt+S cursor move to save button, same is not working in oracle forms 11g.
    What changes I have to made in new version so that after pressing alt+S cursor will move to save button.
    Any help is appreciated.
    Thanks in Advance.

    You will need to define your custom key map in the key mapping file you use. Typically fmrweb.res or fmrpcweb.res. Edit the file in a text editor and take a look to figure out where you need to make the change.This is wrong! The OP is talking about the Access Key (key mnemonic's) of a button. This has nothing to do with the mapping of keys in the frmweb.res, etc., files.
    @parapr, You don't mention the Java version installed and you don't mention if your OS is 32-bit or 64-bit. Likely, this issue could be related to an incompatible Java version. We use Access Keys in our 11g R2 application and they work just fine. Our Java version is 1.6.0_31. If you are using Java 1.7.0 - this version is not yet certified with Oracle Forms and I would recommend you downgrade to 1.6.0 (latest version).
    Craig...
    Edited by: CraigB on Dec 3, 2012 9:09 AM

  • Images on Button in Oracle Forms 9i

    Hi there,
    I am using Oracle forms 9i.
    I have tried my best but I have failed to get displayed a jpg image as icon on a push button.
    Plz help me.

    Ali,
    if you do a search on this forum then you find plenty of threads that explain how to do this.
    Re: Forms 9i Push Button Icon NOT shown on Form
    Also there is a section written about this isn the Oracle9IAS Forms deployment documentation.
    Frank

  • How to create browse button in Oracle Form Builder?

    Hello all
    I'm learning Oracle Form Builder and i want to create browse button but i don' know how i do
    I hope u will help me!
    Thanks all

    <p>Configure and use the Webutil library functions. See the Webutil link from the OTN Forms home page</p>
    Francois

  • Java Middle Tire and Oracle Form

    Hi
    can I call some methods from Middle tire based on java/j2ee from Oracle form 10g or oracle form 9i?

    Suhaib,
    check the online help or otn.oracle.com/products/forms --> collateral for the JavaImporter feature. There also exist demos on OTN that show how to use this feature.
    Yes, it works.
    Frank

  • How to call userdefined java script function in Oracle Forms 11g.

    Hi,
    I Created a java script contain a function, that will open and close the browser for some URL.
    CODE:-(webclose.jp)
    *function manageWindows() {*
    var windows = [], i = 0;
    var url =  "htttp://oracle:64578/xmlpserver/login.jsp?Go&id=admin&passwd=admini";
    *if (url.length) {*
    *windows[i] = window.open(url, ' tabWindow_'+i);*
    i++;
    *winows[i-1].close();*
    *delete windows[i-1];*
    return false;
    *}* Then i placed the javascript file in path <middleware_home>\user_projects\domains\<domain>\servers\WLS_FORMS\_WL_user\formsapp_11.1.1\e18uoi\war\
    After that i called the javascript function in to forms as
    WEB.JAVASCRIPT_EVAL_EXPR('webclose.manageWindows();');
    When running the form it showing error
    FRM-92190: JavaScript is unable to evaluate expression.
    If anybody knows pls help me.

    Always post code snippets in &#123;code&#125; tags as explained in the FAQ.
    I Created a java script contain a function, that will open and close the browser for some URL.
    CODE:-(webclose.jp)
    function manageWindows() {
    var windows = [], i = 0;
    var url = "htttp://oracle:64578/xmlpserver/login.jsp?Go&id=admin&passwd=admini";
    if (url.length) {
    windows = window.open(url, ' tabWindow_'+i);
    i++;
    winows[i-1].close();
    delete windows[i-1];
    return false;
    } Then i placed the javascript file in path <middleware_home>\user_projects\domains\<domain>\servers\WLS_FORMS\_WL_user\formsapp_11.1.1\e18uoi\war\
    After that i called the javascript function in to forms as
    WEB.JAVASCRIPT_EVAL_EXPR('webclose.manageWindows();');
    When running the form it showing error
    FRM-92190: JavaScript is unable to evaluate expression.
    If anybody knows pls help me.>
    This error has nothing to do with Forms, it is an JavaScript error.
    Most likely cause is this line
    if (url.length) {url.length returns a Whole number and so the conditions would be
    if (url.length > 0) {Or
    if (url) {  // not null checkCheers,

  • Search Button in Oracle forms

    hi, i want to use a search button which search employees data when employee_id was given. I don't know PLSql code written in "when button pressed" trigger.
    any help?

    go_block('employee_table');
    execute_query;
    create an item on the form where user will enter the employee_id,
    on the same form on another block show your employee_data to be shown on the screeen
    you will now set where clause on the block of employee_table as where employee_id=:employee_id1

  • Mixing Java with Oracle Forms 11g

    What's going on is I wrote a program for work that allows the user to upload a document from their computer onto the database and then download it back later. Now I have to take that and integrate it into a button in Oracle Forms because our actual program runs from Forms. I imported the jar into the form and wrote a button with code I found online (modified slightly for my own use of course):
    DECLARE
         jo ora_java.jobject;
         rv varchar(100);
         ex ora_java.jobject;
    BEGIN
         JO := Upload.new;
         RV := Upload.startUploadPage(JO);
    EXCEPTION
         WHEN ORA_JAVA.JAVA_ERROR then
              message('Unable to load Upload page, ' || ORA_JAVA.LAST_ERROR);
         WHEN ORA_JAVA.EXCEPTION_THROWN then
              ex := ORA_JAVA.LAST_EXCEPTION;
              message('Java Error');
    END;
    but when I tried to compile it I got:
    Error 306 at line 8, column 8
    wrong number or types of arguments in call to 'STARTUPLOADPAGE'
    the java method that is supposed to be called here is:
    public static String StartUploadPage() {
    new Upload();
    return Upload.StartUploadPage();
    I did get from someone that apparently as written my code wont work anyway because apparently the jar importer in Forms doesnt transfer UI (ie Java Swing) and that in order to get the UI to transfer I would have to write a JavaBean on top of my code... but 1 I have no clue what a JavaBean is and the research I have done so far about it has just confused me more... and 2 I'm not sure what that has to do with the error considering that the method that is supposed to be being called by the line that threw the error doesn't have any JFrames or Java Swing of any kind connected to it... there is a tiny bit of Swing in the class to open up the first form that has the buttons for upload and download in it but that is all. I have 4 classes in that jar... 3 are the various Java Swing pages and have the absolute minimum logic in them possible... and the 4th one is the one that starts everything going, has the main class, and any serious logic that needs to be done the needed values are passed to that class and that class does all the work... that 4th class is the one that is being called in the PL/SQL. If it isnt any trouble could I maybe get a little help from someone on:
    1. How to write a JavaBean to allow my program to work the way it is supposed to in Forms and
    2. Why I am getting this error and how to make it go away

    Simplemente deberias utilizar la webutil, no hace falta programar nada nuevo, con la webutil puede transferir de un puesto cliente a la database, o viceversa.

  • Java class in oracle forms

    Hello experts,
                        I am new in oracle forms.I am using oracle forms 11g with weblogic 10.3.5 at windows 7.Someone please clear me that the injection of java programing in oracle forms is through BEANS item only or I can use it(java class) as a part of my oracle forms.I mean I have a Java class.Could I use this java class inside my oracle forms without using Beans Item.
    Thank You
    regards
    aaaditya

    In forms you can use java in two different ways
    1. On the client-side. Using java-beans you can extend the client-functionality of forms. The code will run on the client-computer in the context of the applet.
    2. On the server-side. Using the java-importer you can build a PL/SQL-wrapper around a java-class and so use the java-code in your forms-PL/SQL
    What is your reuqirement?

  • Open pdf document from local disk on button trigger from Oracle form in 6i

    hi all.
    i have an application in oracle forms 6i. The system from where forms are run...has a local folder with pdf documents. the requirement is that when user click on a button in oracle form...the respective pdf from the local folder should open (in browser or in adobe pdf or in any other way).
    I really desperately need this help. had googled. did use the host and client_host commands in the button trigger but am presented with error "host, client_host" not declared.
    bundles of thanks in advance for getting me out of this.

    Hi
         DECLARE
         pl_dept paramlist;
         com_code varchar2(1);
         BEGIN
         pl_dept := Get_Parameter_List('tmpdata');
         IF NOT Id_Null(pl_dept) THEN
              Destroy_Parameter_List( pl_dept );
         END IF;
         pl_dept := Create_Parameter_List('tmpdata');
            ADD_PARAMETER(pl_dept,'p_date_from',TEXT_PARAMETER,:date_from);
            ADD_PARAMETER(pl_dept,'p_date_to',TEXT_PARAMETER,:date_to);
            ADD_PARAMETER(pl_dept,'destype',text_parameter,'file');
            ADD_PARAMETER(pl_dept,'DESFORMAT',TEXT_PARAMETER,'pdf');
         Add_Parameter(pl_dept,'paramform',TEXT_PARAMETER,'NO');
         Run_Product(REPORTS, 'EMP_STATISTIC_REP.rep', SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_dept,NULL);
    End;      Not tested hope it works...
    Regards,
    Amatu Allah

  • How to align a backspace button in sql form

    hi all,
    how to make to work a backspace button in oracle form for virtual keyboard.
    DECLARE
      TEST number;
    BEGIN
      TEST:=length( :TEXT);
    -- :TEXT:=test||chr(8);
    :TEXT:=substr(:text,1,test-1);
    END;
    this won't work properly..

    Code is attached to some Forms trigger. Which trigger is that?
    And what is this "virtual keyboard" you are using?
    Also, always include your Forms and Java version, browser, etc.

Maybe you are looking for

  • Read Time Out Exception while generating PDF Document

    Hi, We are working on Netweaver 04,Patch SP 16 and trying to generate a Non Interactive PDF on ADS Version SP 14 for printing purpose (Eg.Invoice). This extracts data using EJBs. We used Interactive Form UI element which has various sub elements like

  • Disk Utility no longer working correctly

    I did a search and couldn't find a similar problem, so here goes. I'm running OS 10.4.11 on a G4 PPC Dual 1.25 GHz. I've done the regular updates the last several weeks: QuickTime-7.5.5 iTunes- 8.0 Xserve RAID Driver Update- 1.0 Java for Mac OS X 10.

  • How do I get pics on my iPod when I have it set in iTunes to manual update?

    I tried dragging my pics into the ipod part on iTunes, but that didn't work, then I tried opening it up in my computer, but that didn't work either! Anyone know, please?

  • Creating a Cross tab that contains fields with shared variables

    I am trying to create a cross tab in CR2008. I can get the field in the details but cannot choose it when trying to create a cross tab. Please help. Thanks. Shared numbervar MonHrs; Shared numbervar TueHrs; Shared numbervar WedHrs; Shared numbervar T

  • Disabled Features

    I am trying to install a new printer that I bought last year (because it matches the 3 other printeres I have). I just recently tried to download the drivers from the disk that came with the printer. I realize that the drivers needed to be updated, s