Oracle Forms / Java tutorial How to build a new JavaBean

Oracle Forms / Java tutorial How to build a new JavaBeanShort Description
Oracle Forms / Java tutorial. How to build a new JavaBean. 1. Purpose. The purpose of this tutorial is to demonstrate how to build and integrate a new …

Website: sheikyerbouti.developpez.com | Filesize: 924kb

Content
Oracle Forms Community - my first bean (Feb-2006)
http://forms.pjc.bean.over-blog.com/
Oracle Forms / Java tutorial
How to build a new JavaBean
1. Purpose
The purpose of this tutorial is to demonstrate how to build and integrate a new JavaBean in an Oracle Forms application.
2. The goal
In this tutorial we are going to develop a JavaBean that retrieved the background color of a Forms canvas.
But, why not simply use the Get_Canvas_Property( ‘canvas_name’, BACKGROUND_COLOR ) built-in ?
The reason why we cannot use the Forms GET_Canvas_Property built-in is that it returns null if the background color is not explicitly set.
The trick to solve this problem is thus to use a Forms bean area item and locate in on the Forms canvas. The background color property is then read from JavaBean container’s parent container.
3. Build the bean
?Open Jdeveloper
?Create a new application
Right click on the Applications node then click the New Application option
?Enter the name of the new applicationOracle Forms Community - my first bean (Feb-2006)
http://forms.pjc.bean.over-blog.com/
?Enter the name of the new project
?Add a new class to the project
Right click on the OracleFormsBean node and click the New Java Class option…

Get the file Download here

AddThis Social Bookmark Button
Related Books:
  • Berkeley DB Java Edition Collections Tutorial
  • Microsoft Access Northwind Application Migration
  • Adapter Tutorial
  • Using Flash Remoting MX for Java to Create Dynamic Flash Widgets
  • Adapter Tutorial
  • Oracle/SQL Tutorial
  • Oracle/SQL Tutorial
  • Oracle/SQL Tutorial

  • Related Searches: , , , ,



    Comments

    Leave a Reply