Forms 6i and Java
Hi@all,
is it possible to override the Forms Button, Textfield and so on with elements from the java awt class to make the forms mor appealing? Can you give me a short tutorial or somethig.
Thank you for your help.
greetings.
Yes you can override almost all the widgets that Forms uses with your own Java widgets. See François Degrelle's web site for a whole set of them that you can use as is.
Similar Messages
-
Hi
I need to establish communication between my forms and java code.
i have made a java bean and set the implementation class path(i.e the package path (oracle.forms.demo for the bean class)) in the form item.
I want to know where exactly should put the java code or do i have to make modification in any of the environment variables to allow the forms to acces the java code.
what exactly is a java class and do i need to have a wrapper class also to implement the java bean.
please respond fast as i need this info urgently...any small info might prove fruitful
Thanks
Message was edited by:
user532526Hello,
All you have to do is to copy the .jar file that contains the Java class(es) in the <devsuite>/forms/java/ directory, configur the <devsuite>/forms/server/formsweb.cfg file to add this jar file to the archive_jini tag to indicate where Forms have to load the classes:
archive_jini=frmall_jinit.jar,...,my_jar_file.jar
Then after, you have 2 possibilities:
- the bean does not have any "screen" representation so you can just handle its functions with the Forms internal FBean package functions (no need to put implementation class on the bean area item property)
- it has a screen representation, so you put its implementation class like you did, and you set its properties with the Set_Custom_Property() built-in and get its properties with the Get_Custom_Property() built-in.
Francois -
Forms 10g and Java 6 - Howto place the oracle .jars?
Hi,
I would like to compile a sample Forms Java Bean with standalone Java ( not with the JDeveloper IDE )
and the source starts with a lot of import oracle classes in jars.
My java install is like this:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_11
Could you indicate where I should place the Oracle jar files in order to have javac to recognize them?
Many thanks in advanceHi again,
I'm not advanced enough on these topics to clarify.
Things have changed in the meantime here.
At the moment we are looking into using 'web_show_document' with an html page containing javascript.
There is a discussion on the 'talk2gerd.blogspot' that indicates what to set in formsweb.cfg and forms.conf in order to use javascript.
Still getting a browser written as a Javabean to consult entreprise documents from a Forms client would be a nice bonus.
Many thanks for your help. -
Certification forms 6i and Java plug-in
Is certified to use forms 6i + patch 4 with Sun Solaris JDK 1.1.8/Java plug-in 1.3?
or what is the certified version?
Document Oracle Forms Server: Client Platform Support Statement of Direction from October 2000 (on OTN) says that
this is planned. Is it already certified?
Thanks.Hello,
All you have to do is to copy the .jar file that contains the Java class(es) in the <devsuite>/forms/java/ directory, configur the <devsuite>/forms/server/formsweb.cfg file to add this jar file to the archive_jini tag to indicate where Forms have to load the classes:
archive_jini=frmall_jinit.jar,...,my_jar_file.jar
Then after, you have 2 possibilities:
- the bean does not have any "screen" representation so you can just handle its functions with the Forms internal FBean package functions (no need to put implementation class on the bean area item property)
- it has a screen representation, so you put its implementation class like you did, and you set its properties with the Set_Custom_Property() built-in and get its properties with the Get_Custom_Property() built-in.
Francois -
Popup menus in Forms 10g and Java Bean
Hi all.
What class in Java corresponds with popup menus(not in menu module) ?
I know that oracle.ewt.lwAWT.lwMenu.LWPopupMenu is corresponds with MenuBar's submenu. I can find Buttons, Text Fields, Menu and other components in my Form-Applet, but I don't know how to find popup menus in forms through Java Bean...Hello François,
I have created a java bean that dynamically creates a popup by left-clicking on the bean.
Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_ITEM', 'Item' ) ;
Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_SEPARATOR', '' ) ;
Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_ITEM', 'Item one' ) ;
Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_ITEM', 'Item two' ) ;
My problem is the layout. I want to simulate a button. I can't put the bean transparent over a button and I can't simulate a button with the bean.
How can I add the popup functionality to a button and not only to the bean? Or any other workaround?
Regards Pedro. -
I'm new to Java...
Am I able to use a bean item for any other method of deployment
besides WebForms?
Do I have to use the Iview interface if it's not a WebForm
Application?
Why doesn't the javac compiler come inside the jdk directory when
Forms60 is installed?
Do I have to use the Ole Importer on a Java class like you do
with an OCX?
Am I able to use any Java class (so long as it conforms to the
special characteristics of Java for Forms60) in my Forms
application?
Can someone send me an example to my email address?
[email protected]
Thanks.
nullhi Brian -
: I'm new to Java...
welcome then!
: Am I able to use a bean item for any other method of
deployment
: besides WebForms?
yes, JavaBeans are one of the standard component models proposed
and used by JavaSoft and the general Java community.
With the introduction of the Enterprise JavaBean specification
and now J2EE, JavaBeans by themselves are now usually used to
refer to user interface types of components. Server and
business logic is usually thought of as being contained in
Enterprise JavaBeans.
The nice thing about JavaBeans is that the Java language
supports them naturally and therefore anywhere you can really
use Java you can utilize the JavaBean component model.
: Do I have to use the Iview interface if it's not a WebForm
: Application?
The IView interface allows a Developer application to
communicate and control a JavaBean that is deployed inside of an
Oracle Developer application.
Not all JavaBeans require the implementation of the IView
interface. If a JavaBean is to be used inside of a Forms
application then it must at some point, either through direct
implementation or delegation provide implementations for the
method declarations contained in the IView interface.
: Why doesn't the javac compiler come inside the jdk directory
when
: Forms60 is installed?
The JDK supplied with Forms 60 is for runtime use only. If you
are building JavaBeans and components then the free JavaSoft
compiler is a available for you.
: Do I have to use the Ole Importer on a Java class like you do
: with an OCX?
no you don't need to do this - Java is much easier than using
the OLE interfaces. Just specify the name of the JavaBean as
the implementation class in the property palette for the forms
UI component or BeanItem.
: Am I able to use any Java class (so long as it conforms to the
: special characteristics of Java for Forms60) in my Forms
: application?
Yes, this is true. Any Java code you write should work inside
of a form as long as the IView interface is supported, which
lets Developer Server interact, manage and control your Java
code when it needs to.
: Can someone send me an example to my email address?
There are some examples that ship with Developer Server 6.0.
Look in the <ORACLE_HOME>\forms60\java\oracle\forms\demos\source
directory for them.
: [email protected]
: Thanks.
cheers!
-The Developer Team-
null -
While using a checkout form in a xml format and cross platform of java on and iPad were the home based software is on http://vanrentalz.com the error keeps on coming back.
Any suggestions ?An iOS device can't run Java, so you can't use any web site that requires it. That site doesn't appear to be using Java, though, just JavaScript which despite the similarly in name is completely different. Most likely the site isn't coded properly for the iPad (it displays a bit odly even in Safari on a Mac). Is that site yours, or just one you are trying to use?
Regards. -
Oracle Forms 10G and Java 7 ?
So, as of 13 February 2013 (https://blogs.oracle.com/java/entry/end_of_public_updates_for) there will be no more updates for Java 6. So does that mean that Oracle Forms 10g (which as far as I know only supports Java 6) applications will have to upgraded to Forms 11g to keep up with the Java updates? So if you are running Forms 10g on OAS (Oracle Application Server) does that mean also an upgrade from OAS to Weblogic?
Looks like there may be an update to fix this issue:
Patch 14825718
Description ORACLE FORMS BUNDLE PATCH 10.1.2.3.2
Product Developer Forms
Release iAS 10.1.2.3
Last Updated 07-JAN-2013
From the README for 14825718
# 11782681 - APPS6 FORMS DO NOT LAUNCH WITH BETA JRE 1.7I found the above information starting here:
Re: Java 1.6 and 1.7 on same computer, which references this: FRM-92095: Oracle Jnitiator version too low
Here's a workaround which is supposed to work without installing the patch, but I haven't had time to try it:
The "Frm-92095" link above also mentions the -Djava.vendor fix but doesn't show the following steps.
After installing Java 7, open file manager and go to the directory below, double-click on this file:
C:\Program Files (x86)\Java\jre7\bin\javacpl.exeThis opens a "Java Control Panel" window.
Click the Java tab, then the View... button.
This should open a Java Runtime Environment Settings window with two tabs: User and System.
On each tab, under Runtime Parameters, enter:
-Djava.vendor="Sun Microsystems Inc."The place I saw these instructions claim it works in IE9, Firefox 18.0.2, and Chrome 24.0.1312.57
I have not had time to try yet. -
Hi Forum. I know that there is no version of Forms certified with Java 7, the last post of Michael Ferrant in this thread is very clear: Forms 10g and Java 7 (1.7) problems (lamentably the thread is locked)
On the other side, the Oracle Java SE Support Roadmap (Updated September 19, 2012) states that the End of Public Updates of Java 6 is Feb 2013... but Oracle now owns Java, so it is not really "the other side"
My point is that the gap is adjusted and closing... If we use Forms we can not upgrade to Java 7 ... but in three months, maybe we NEED to move to Java 7 because there will be the only way to be actualized with security updates
Anybody knows what is the official position of Oracle in this matter ?
Thanks in advance
AlfonsoAs Francois mentioned, Forms 11.1.1.6 is now supported with Java 7. We are also hoping that an upcoming version of 11.1.2.x will also support Java 7. Hopefully details will be released soon.
As for the desupport of Java 6, as long as you are using an Oracle product which has a dependency on any particular java version and that product is still entitled to support, the dependant java version will also remain supported in that case. In other words, because FMw (PFRD) 11.1.1 will be supported until sometime in 2014, we will continue to support the use of Java 6 if and only if it is used in conjunction with that specific FMw release for as long as the FMw release remains in support.
The dates for desupport of Java apply to end-users not using it in conjunction with other Oracle products.
Refer to these MyOracleSupport notes for more details: 952075.1 & 1470123.1
Because date and policies mentioned in this and other forums or blogs are subject to change at any time, it is always a good idea to refer to the official product documentation or contact Oracle Support if you have any concerns or questions. They can provide you with the latest information. -
Forms 6.0 and JAVA Applications?
We used until now Forms 3.0 with "User Exit Functions" written in Fortran to read data from Instruments. Currently we migrate the applications from Forms 3.0 to Forms 6.0. Is it possible to start a JAVA application (not applet!) out of Forms 6.0 to get data from a instrument? I have written a JAVA application that could do this job, based on Sun's javax.comm package.
Thank You
Heinz GrimmHi,
Oracle Forms 6i does not support Advances Security for SQL*Net if this is what your question is. ASO is supported with Forms 9i and above
Frank -
Can Designer10gR2 generate Forms with Pluggable Java Components and WebUtil
I know that Forms 10g supports Pluggable Java Components and WebUtil. Designer 10g R2 provides Design Capture of Forms to Modules. Can Designer capture a Form with Pluggable Java Components and WebUtil and then regenerate Form from within Designer? IF yes, would you give me more details. Thanks.
Hi
I am also looking for an alternative way to implement Drop and Drag functionality in Forms 9i.
Regards
Janet -
Forms 10g R2 and Java Bean Interaction
Hi,
I need some help.
I have a Forms app and a Java app that i need to communicate between them.
The Java app send and receive events. How i send and receive events in Forms 10g.
What you recommend to do that.
Thank You. JP.There is a very good example in the otn in the forms-demo-section.
Go: OTN - Sample Code - Oracle Forms - JavaBeans
try it
Gerd -
Hello,
I have written a Java program that I want to call from a forms program. My form is written in the latest version of Oracle Forms Builder. My logic in the Java class is a common functionality that I want to use in many forms in my application. This functionality is written in Java because PL/SQL does not have functionality for that logic.
By the way, I have an additional question regarding PL/SQL and Java classes. Suppose I want to write common functionality that accesses my database with SQL statement. Which technology is best for performance? Is it Java or PL/SQL? My guess is PL/SQL?!I have now found the FORMS90_BUILDER_CLASSPATH in the registry. I have added my Jar file at the end of the FORMS90_BUILDER_CLASSPATH like this;
C:\OraHome_1\forms90\java\javacode.jar. Then I restarted my computer.
My javacode listed in the jar file is not available in the import java dialog in forms builder. Is there something else I should do? The only thing that I have done is the changes on the FORMS90_BUILDER_CLASSPATH. Maybe it is something in my Java code? My Jave code is an common Java class with only standard Java import statements. -
Saving form field data with Adobe Reader and Java script.
We would like to create some customized PDF documents with pre filled form fields for our customers. The documents will also have extended Java script functionality to check some entered data and to save the form data to a local disk.
Our customers will need to click on their personalized link on our web page and then download a pdf document with personal pre filled form fields specifically for that customer. From our site the PDF file will be dynamically created and partly filled out with our web application. (The application uses an external PDF library for the pdf creation).
They would then need to be able to edit the form fields and save/export them as a pdf whilst offline.
The saving/exporting of the data should be implemented by the extended Java Script functionality (http://www.adobe.com/devnet/acrobat/pdfs/js_developer_guide.pdf). Once the data has been edited they will send the pdf file directly back to us.
The issue we have is with regarded to teh EULA for Acrobat Reader. If we create those documents with an external application is the user allowed to open those PDF files with his Adobe Reader without breaking the Adobe Reader Restrictions in the EULA for the Reader? (http://www.adobe.com/products/eulas/pdfs/Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf, chapter 3.2 Adobe Reader Restrictions)Hello,
the problem which I have pertains only to the Adobe Reader. Because
our user will use Adobe Reader to open our pdf documents but it looks
like that the EULA for the Reader doesn't allow the user to open pdf
files which have the extended option to save data out of the form
fields unless!! this feature was created by an adobe product. But I
created the pdf file not with Adobe. So I don't want our user be punished...
It is actually a question of the law? departement of Adobe. But there
is no Forum for that
Or could you please forward my forum question to somebody of this department.
I don't want to publish a product where the user breaches the EULA
every time they are opening it
Regards
Niels -
How can i run a program outside of Forte? (Forte and java/class files)
im making a program with forte... and i have a bunch of class files, i form file and a java file... how can i put these in one file so poeple without forte can run it...
thanksjmburns wrote:
I am trying to do a silent install of a program I built using LabVIEW 8.5. I also need to call an exe after the installation, so I am using the "run executable after installation" option on the Advanced tab of the installer. I then pass the following command lines to the setup.exe:
/qb /acceptlicenses yes /r
This installs the LabVIEW program successfully, but does not then run the additional exe afterward. If I run the setup.exe normally (with no command line parameters), the additional exe gets run.
Thanks,
Jason
This problem is fixed in a future release of LabVIEW. Here's the CAR ID 67549 for tracking purposes.
Message Edited by Bob P on 07-10-2008 09:10 AM
Maybe you are looking for
-
How do I connect my laptop in the field to my home computer?
I'm sure there's a simple answer to this question and I'm able to do it round the house within my LAN, but I'm trying to figure out how to configure the same access to my home machine when I'm using the internet to get in? Can anyone point me in the
-
I have an iPhone 4s 16GB Model and I've been using it for about more than an year now. The reason I wanna get a new iOS device is because my 4s has got lots of scratches now and it's ambient light sensor seems not to work properly. Apparently, anothe
-
Modifying emulated DataSource 3.x
Hello, I'm working with SAP BW Netweaver 2004s, and I have a DataSource 3.x with an InfoPackage and a Transfer rule. I need to add some fields into DataSource 3.x, but when I tried to change to Modify View of the DataSource appears a message telling
-
iTunes says that it's in Recovery Mode but when attempting to restore my iPod, I cannot connect to the update server via iTunes even though there are no problems with my Internet connection. Please help me!
-
This problem started February 2015. I have noticed it mostly while searching ebay. When I hit the back button it did not work. I right clicked the back button and found at least 2 and sometimes up to a dozen duplicate history entries for the current