François Degrelle May 2012

Similar documents
How to create pop-up menus

Oracle Forms Developer 10g: Build Internet Applications

CaptainCasa. CaptainCasa Enterprise Client. CaptainCasa Enterprise Client. Feature Overview

PowerPoint 2007 Basics Website:

Recreate your Newsletter Content and Layout within Informz (Workshop) Monica Capogna and Dan Reade. Exercise: Creating two types of Story Layouts

Microsoft PowerPoint 2007

PowerPoint 2013: Basic Skills

Using Adobe Dreamweaver CS4 (10.0)

BT CONTENT SHOWCASE. JOOMLA EXTENSION User guide Version 2.1. Copyright 2013 Bowthemes Inc.

Using Microsoft Word. Working With Objects

In this session, we will explain some of the basics of word processing. 1. Start Microsoft Word 11. Edit the Document cut & move

paragraph(s). The bottom mark is for all following lines in that paragraph. The rectangle below the marks moves both marks at the same time.

Microsoft PowerPoint Tutorial

Epson Brightlink Interactive Board and Pen Training. Step One: Install the Brightlink Easy Interactive Driver

CREATE A WEB PAGE WITH LINKS TO DOCUMENTS USING MICROSOFT WORD 2007

How to create buttons and navigation bars

Basic tutorial for Dreamweaver CS5

Word basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

Microsoft Excel 2007 Level 2

Click on various options: Publications by Wizard Publications by Design Blank Publication

ADOBE MUSE. Building your first website

Unit 351: Website Software Level 3

Microsoft Word 2010 Prepared by Computing Services at the Eastman School of Music July 2010

Oracle Business Intelligence Publisher: Create Reports and Data Models. Part 1 - Layout Editor

Word Processing programs and their uses

Microsoft Expression Web

USER S MANUAL JOOMLA! GOVERNMENT WEB TEMPLATE

Getting Started with Internet Explorer 10

Making a Web Page with Microsoft Publisher 2003

Choosing your Preferred Colours in Windows

2. Signer Authentication

Microsoft PowerPoint 2010

SellerDeck 2014 Responsive Design Guide

Microsoft Word defaults to left justified (aligned) paragraphs. This means that new lines automatically line up with the left margin.

UNPAN Portal Content Management System (CMS) User Guide

Dreamweaver Tutorial #1

Chapter 4 Windows Applications Notepad, WordPad, and Paint

How to Use the Text Editor in Blackboard

How To Insert Hyperlinks In Powerpoint Powerpoint

To change title of module, click on settings

Google Drive Create, Share and Edit Documents Online

Instructions for Creating a Poster for Arts and Humanities Research Day Using PowerPoint

Creating a Poster in Powerpoint

NDSU Technology Learning & Media Center. Introduction to Google Sites

Level: 3 Credit value: 5 GLH: 40 Assessment type:

New Features in Microsoft Office 2007

Welcome to CorelDRAW, a comprehensive vector-based drawing and graphic-design program for the graphics professional.

TUTORIAL 4 Building a Navigation Bar with Fireworks

1. Right click using your mouse on the desktop and select New Shortcut.

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

IE Class Web Design Curriculum

How To Use Microsoft Word 2003

HELP DOC. Version 0.1

How to build a blog with Adobe Muse and Business Catalyst Workbook.

Microsoft PowerPoint 2011

Introduction to OpenOffice Writer 2.0 Jessica Kubik Information Technology Lab School of Information University of Texas at Austin Fall 2005

Action settings and interactivity

Microsoft Publisher 2010 What s New!

Table of Contents. I. Banner Design Studio Overview II. Banner Creation Methods III. User Interface... 8

Done. Click Done to close the Capture Preview window.

Creating Acrobat Forms Acrobat 9 Professional

Fireworks 3 Animation and Rollovers

Excel macros made easy

DEVELOPMENT OF AN ANALYSIS AND REPORTING TOOL FOR ORACLE FORMS SOURCE CODES

Configuring the JEvents Component

Microsoft Outlook Introduction

FastTrack Schedule 10. Tutorials Manual. Copyright 2010, AEC Software, Inc. All rights reserved.

Microsoft Outlook 2010 Part 1: Introduction to Outlook

Adobe InDesign Creative Cloud

Go Kiwi Internet Content Management System Version 5.0 (K5) TRAINING MANUAL

How to create a Flash banner advert in DrawPlus X2

Knowledgebase Article

Introducing our new Editor: Creator

HOW TO CREATE AND SEND AN EXACTTARGET TEMPLATE-BASED

Digital Marketing EasyEditor Guide Dynamic

Introduction 3. Getting Familiar With Presence Builder Creating and Editing Websites 6

Business Analytics Enhancements June 2013

Startup Instructions for the Online Member Forum

Creating a Calendar in CorelDRAW

How To Manage Your Website On A Webmaster.Com (Webmaster) On A Pc Or Mac Or Macbook Or Macintosh (Web) On Pc Or Ipa (Web).Com (For Mac) On Your Pc Or Pc Or Your

Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00

NDSU Technology Learning & Media Center

Creating a Poster in PowerPoint A. Set Up Your Poster

Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation

IAS Web Development using Dreamweaver CS4

Using JCPS Online for Websites

Features. Main features:

Artisteer. User Manual

DNNCentric Custom Form Creator. User Manual

Intro to Web Development

Oracle Forms Modernisation Case Study ILIAS Solutions

What fascinates me about BAM is not only its ability to deliver reports at Real Time but also alert Business people when they need them most.

Embedded BI made easy

JMS Gift - Prestashop Responsive Theme

Website Builder Documentation

HOW TO: INSERT A JPEG IN AN .

Word Processing. with. OpenOffice Writer

MS Word 2007 practical notes

Google Docs Basics Website:

Transcription:

François Degrelle

Summary Why? (use Java Beans) What? (is it) How? (to use) Where? (to find -The PJC/Java Beans library) Case study the Forms Look and Feel project LAF The Demo Relevant Links Oracle Forms Java Bean integration

Why? (use Java Beans) Customize, extend the user interface Extend existing widget behaviour Add new widgets Re-implement lost features (mouse, keyboard events) Add new features Oracle Forms Java Bean integration

Some examples A «menu» kind of Text Item A Java calendar An HTML browser A Swing Jtable integration Direct Print to a local printer... Oracle Forms Java Bean integration

What? (is it) External Java Code embeded in the Forms application Java Beans (an open window to everything possible) Pluggable Java Components (PJCs) (An access point to the underlying standard widget) Oracle Forms Java Bean integration

Oracle Forms Java Bean integration

How? (to use) Copy the JAR file to the <FORMS_HOME>/forms/java folder Update the <FORMS_HOME>/server/formsbeb.cfg file archive=frmall.jar,laf_11112.jar archive_jini=frmall_jinit.jar,htmlpane.jar Update the Forms module (Bean Area or Item Implementation Class property) Oracle Forms Java Bean integration

Where? (to find - The PJC/Java Beans library ) http://www.oracle.com/technetwork/developer-tools/forms/ http://forms.pjc.bean.over-blog.com/ Over 100 free Plug-ins How tos / Articles Links to other Java Beans providers Oracle Forms Java Bean integration

The Forms Look and Feel Project

Introduction What is it? How it works? Demo Where to download the project?

Introduction Change easily the look of the Forms application. Have a more «Web» look. Externalize the graphical information. Add brand new functions.

Change easily the look of the Forms application Change the look of the GUIs elements Draw gradient backgrounds, images, shapes and strings on the canvas Change the look of the Forms containers Give table-blocks an «HTML» style

Externalize the graphical information Most of the graphical information is read from an external CSS file. The painting is made at runtime by reading the required tags, then applying the settings through the Java Bean. canvasebay { type:canvas gradient-colors:r255g255b204,r255g255b255 gradient-vcycle:/2 gradient-hcycle:0 image1:/ebay.jpg,10,1,.8 image2:/ebay_line.jpg,30,74,.6,560,5 } tableheaderebay { type:header font-family: Arial; font-size:12 font-weight:bold frame-color:r250g83b12 inside-color:r255g204b0 font-color:r0g0b204 shade-color:r255g255b204 frame-width:2 frame-rounded-border: 10 transparency:.8 text-align:left text-align-offset:5 }

Have a more «WEB» look on table-blocks

Add some new functions Handle menus at runtime (add, enable, disable, show, hide, remove options). Handle frames at runtime (add, move, modify, hide). Play pre-loaded sounds. Receive external asynchronous messages. Draw graphics anywhere on the screen. Display input dialog boxes. Color Chooser. Add Items at runtime (Text Items, check-boxes, buttons, images, sliders). Handle HTML Maps. Display Google Charts. Display Swing Jtable coloured LOVs. Display dynamic popup menus. Display popup messages. Display Images in a Spinner component.

What is it? a PL/SQL library That includes the functions and the procedures to read the tags from the CSS file and decorate the dialogs. a JAR file That includes the Java Beans and the PJCs. a CSS file That includes the tags sections.

The PL/SQL library (laf.pll) It contains the functions and the procedures needed to open the CSS file, read the tags from it, then perfom the drawing job through the associated Java Bean s methods. Open and read the CSS file. PKG_LOOK_AND_FEEL.Open_Css() Draw objects on the canvas. PKG_LOOK_AND_FEEL.Paint_Canvas() Decorate the given table-block. PKG_LOOK_AND_FEEL.Paint_Block() Set global properties for every GUIs widgets. PKG_LOOK_AND_FEEL.Set_GUI_Properties()

The JAR file (laf.jar) It contains Java Beans to perform all the graphical operations, and PJCs to overload the common Forms widgets. The Java Bean allows to manage the following aspects: Drawing shapes on the current canvas (images, lines, rectangles and strings). Loading and playing sounds. Dynamically handling menus - add, remove, enable, disable, show and hide menu options at runtime. Dynamically handling frames add, remove, modify, move, show and hide frames at runtime. Display single or multi-line input dialog box. Transform the Forms into a Socket Server, able to receive external asynchronous messages. Display texts anywhere on the canvas during a given time. Change fonts and colors for menu bar, window caption, status bar and tabs. Pick a color from a JColorChooser. Turn simple images into sensitive areas you can click on.

The PJCs tend to give a more «Windows XP» look with the use of gradients. They also extend the standard behavior of the common Forms items: Buttons with mixed text and image, and mouse-on, mouse-over events. Text items that permit sending events back to Forms (last key typed with key char, key code and key modifier). Blinking text items. Hyperlink sort of text items. Extended lists (multiple selection sorted lists). Text items with background gradients. Text items able to render HTML contents or handle huge texts like CLOBs or external text files.

The CSS file It contains the different tags, grouped in five different section s types: type:canvas That contains tags to decorate a canvas type:title That contains tags to draw a table-block title area type:header That contains tags to draw a table-block header area type:body That contains tags to draw a table-block body area type:gui That contains tags to manage the common GUIs elements

Title section s tags Header section s tags Body section s tags

How it works? The Forms side Read the CSS file, then decorate the elements by calling the Java methods - Set_Custom_Property(). The Java side Use the Java methods to paint the Forms elements. setproperty() and getproperty()

The Forms side When-New-Form-Instance trigger

The Java side Colorize widgets When-Timer-Expired trigger Draw shapes Draw images Re-draw buttons Paint gradients

Look and Feel Project Demo

Some links Oracle Forms Look and Feel project Web site (documentation and download) http://fdtool.free.fr/laf/doc/oracle_forms_look_and_feel_project.htm Look and Feel project dedicated forum http://forms-pjc-bean.space-forums.com/look-and-feel-project-f4.html Forms Java Beans and PJCs library http://forms.pjc.bean.over-blog.com/ Francois Degrelle s blog http://fdegrelle.over-blog.com/ The Forms Look and Feel Project is free. There is no license attached. You can use, modify and distribute without any restriction at all. It is neither provided nor supported by Oracle

Questions

THANK YOU