Posts

Showing posts from February, 2009

How to Create your First Bean

hi This documnent describs how to create your first bean First Bean

Developing powerful Oracle Business Intelligence Beans

Image
Prerequisites Oracle Forms 10g Rel. 2 • • • Forms_Demos_10gr2.zip   Installation (1) Download from OTN: Forms_Demos_10gr2.zip • • download.oracle.com/otndocs/demos/Forms_Demos_10gr2.zip – • Unzip it into an example-Folder of your choice • • Copy FormsGraph.jar into \forms\java   Source-Codes PROCEDURE BT_Compare IS   vItem                VARCHAR2(200) := :SYSTEM.Cursor_Item;   vGrafik              ITEM           := FIND_ITEM (Const_lokal.itm_Chart);   vData                VARCHAR2(200); BEGIN   -- Initialize Graph   SET_CUSTOM_PROPERTY (vGrafik, 1, 'CLEAR_GRAPH', '');   GO_BLOCK ('UMSATZUEBERSICHT');   FIRST_RECORD;   LOOP     vData := :UMSATZUEBERSICHT.Ums_Geschaeftsbereich || ',' ||              :UMSATZUEBERSICHT.Ums_Jahr || ',' ||              :UMSATZUEBERSICHT.Ums_Umsatz;     SET_CUSTOM_PROPERTY(vGrafik, 1, 'ADD_ROWDATA', vData);     IF :SYSTEM.Last_Record = 'TRUE' THEN...

notify form

to notify form from outside http://www.4shared.com/file/88670510/ca591b00/notifyForm.html

Output query to text file

I amde this demo to output the result of a query to file http://www.4shared.com/file/88667703/e978be9c/DBToFile.html

how to make print screen from your form

Form and jar file --------------------------------------------------------------- package screen; import java.awt.AWTException; import java.awt.Robot; import java.awt.Rectangle; import java.awt.Toolkit; import java.awt.image.BufferedImage; import java.io.*; import javax.imageio.ImageIO; public class ScreenCapture { public void printScreen() throws AWTException, IOException { // capture the whole screen BufferedImage screencapture = new Robot().createScreenCapture( new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()) ); // Save as JPEG File file = new File("screencapture.jpg"); ImageIO.write(screencapture, "jpg", file); // Save as PNG // File file = new File("screencapture.png"); // ImageIO.write(screencapture, "png", file); } } --------------------------------------------------------------------------- -- form builder implementation ----------------------------------------...