Oracle Forms / Java tutorial How to build a new JavaBean

The purpose of this tutorial is to demonstrate how to build and integrate a new JavaBean in an Oracle Forms application

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

Build the bean
• Open Jdeveloper
• Create a new application…

Get pdf tutorial Oracle Forms / Java tutorial How to build a new JavaBean
Right click on the Applications node then click the New Application option

Related Tutorial

Tags: , , , , , , , ,

Comments

Leave a Reply