I have this idea...  Browser inside a java bean area

10G forms
As I see questions pop up in this forum I notice that people want to do some of the same things in forms that one can do in a browser. Like Flash.. Or play a movie. Since, Im not a java expert, I have this thought, and would like any Java Bean experts to respond. I am not afraid to write Java code and will attempt to write this myself if it sounds feasible. I just need a "go for it" or "it sounds good" from some knowledgable forms/java developers.
So.. Heres what I want to do...
Basically why can't we as forms developers create a java bean area and open the default browser of the client inside the area? If we can do that then we can display flash, play a movie, run an oracle report inside a form? Cant we? We could then do whatever the browser can do inside a form java bean area?
Here is my requirement that makes me want to do this...
The requirement is "Can you display the output of an Oracle Report inside of a oracle form?" The users do not want the report output in a separate window. They want to surround report with form fields. An operater will look at the report in the center of the form, interpret hand written text (image), and update the form fields around the report with correct values. This report is very complicated. It converts xml and also converts base64 encoded images to jpegs overlaying these values on another large image of a state police form. Since this report already does all of this, we would like to just display the report output inside the form and not rewrite the whole thing so a form can do it too.
Comments are appreciated..
Im actually hoping Francois gets intriqued way over there in Paris as he sometimes does with these java questions :)
Message was edited by:
Mark Reichman

I've seen an example that shows how to embed MS-Word within an applet, using OLE automation, so I suspect that doing this with Internet Explorer could be achieved. It's an interesting example, called Snippet157 -- part of the Eclipse project. It also demonstrates using the SWT-AWT bridge, whose purpose is to allow AWT and SWT components to be used together. You don't need Eclipse to run the snippet, but you would need to download SWT from http://www.eclipse.org/swt (the SWT-AWT bridge is included.) Whether this example could be adapted to pure Swing/AWT, and how easily that could be accomplished, is beyond my present level of expertise.
As for using this approach with other browsers, I'm not sure that all browsers provide automation hooks, so embedding the default browser may not be so easy. Finally, trends toward tightening browser security may lead Microsoft to prevent or restrict automating even Internet Explorer.
This is all I can think of -- Francois & Frank probably have more insightful suggestions.
Hope this helps,
Eric Adamson
Lansing, Michigan

Similar Messages

  • I have no idea what my security question answers are. I just got a new ipas but it won

    I have no idea what my security question answers are. I just got a new ipas but it won't let me buy apps. How do I find my answers

    Apple ID security issues -
    Call Apple Care and ask for the Account Security Team. They can assist you with your issue.

  • My Documents and Data on my phone are taking up half of my storage! I have no idea what my documents and data are?! Please help!

    My Documents and Data on my phone are taking up half of my storage! I have no idea what my documents and data are?! Please help! I need to reduce it

    DDAAYY wrote:
    i need to free storage on my phone,
    because you want to put more Documents & Data on it.
    Make sure you sync photos to computer then delete from Camera Roll. (Camera Roll photos are part of Documents & Data).
    Delete some apps on the iPhone.
    Then Restore iPhone in iTunes.

  • How to disable and enable a java bean area's visability?

    I have a large javabean area on my initial canvas when first dispalying my form.
    When I use the SHOW_CANVAS('canvas name') to display another canvas, everything looks fine except that the javabean from my previous canvas is still visible and covering up portions of this new canvas.
    So I tried using the set_property visible for the javabean area in the form and it only got rid of the surrounding edge of the javabean area.
    Last I made some set_custom_property values to send to the bean that would then use java calls to enable and disable the beans visability.
    But once the beans visibility was disabled in Java then it wouldn't come back after the calls to enable the visibility and refresh the bean were made through Java calls.
    Is there any other ways of disabling and enabling a java bean area's visability?
    Thanks,
    Michelle

    Hello,
    Maybe the bean is always display because of its particular paint() method ?
    Anyway, without any reflexion, I could suggest you to set the bean item width and height to 1 pixel when you don't want to display it. (Set_Item_Property)
    Francois

  • I have this idea - Copying between different terminal directories.

    Hi,
    I have no idea if a program that does the following exists. The concept is a bit hard to explain but I'll do my best.
    Lets say that you have to terminals opened. In terminal 1 you are currently working in ~/build/foobar and in terminal 2 you are working in ~/archiscool/foobar/letshaveadrink/ and you want to copy a file from ~/build/foobar to ~/archiscool/foobar/letshaveadrink. The usual way of doing this would be to type
    "[user@host ~/build/foobar/]$ cp foobar ~/archiscool/foobar/letshaveadrink/"
    and it is usually very quick to do with completion, but it would be much easier if one could build a script (lets call it "t2dir") that could identify the working dir of terminal 2. Then you'd only have to type
    "[user@host~/build/foobar/]$ cp foobar t2dir".
    Would it possible to probe terminals for their working directories?
    Last edited by Ashren (2008-04-17 09:47:00)

    Here's an alternative: use `ls /dev/pts` to get a list of running ttys and present that list to the user and let them choose the destination. That way they won't have to know the "/dev/pts" number of the tty they want to copy to. It will be nice to people who use title-bar-less windows (like me).
    #!/bin/sh
    # Find out the PIDS of running ttys
    PIDS=""
    for PTS in $(ls /dev/pts); do
    #echo "$PTS"
    PID=$(pgrep -nt "pts/$PTS")
    #echo "$PID"
    if [ $PID != $$ ]; then
    PIDS="$PIDS $PID"
    fi
    done
    # Count the PIDS
    i=0
    for PID in $PIDS; do
    i=$(($i + 1))
    done
    # Behave differently based on number of available destinations
    case $i in
    0)
    echo "No other tty to copy to. Ignoring."
    exit 1
    1)
    DEST=$(pwdx $PIDS)
    #echo "$DEST"
    echo "Only one possible destination. Copying to $DEST."
    exit $(cp "$1" "$DEST")
    *) # Many destinations
    j=0
    for PID in $PIDS; do
    j=$(($j + 1))
    echo "$j. $(pwdx $PID | sed -r -e's/^[0-9]+: //')"
    done
    echo "Select destination by entering its number (1, 2, etc.): "
    read NUM
    if [ $NUM -lt 1 ]; then
    echo "Error: there is no number smaller than 1 in the list."
    exit 2
    elif [ $NUM -gt $j ]; then
    echo "Error: there is no number greater than $j in the list."
    exit 3
    elif [ $NUM -gt 0 ] && [ $NUM -le $j ]; then
    k=1
    for PID in $PIDS; do
    if [ $k -eq $NUM ]; then
    DEST="$(pwdx $PID | sed -r -e's/^[0-9]+: //')"
    exit $(cp "$1" "$DEST")
    fi
    k=$(($k + 1))
    done
    else
    echo "Error: cannot understand what you wrote."
    exit 4
    fi
    esac
    When in sh, I'm paranoid about spaces and metacharacters and globs and I don't know how to use arrays. I guess this explains the weird structure of the script.
    It sucks that it doesn't check for duplicates when listing out possible destinations... I should write this in a more comfortable language like perl. But I should go do some real work now.
    Last edited by peets (2008-04-18 14:39:04)

  • Need ideas for new PJC/Java Beans

    Hello everybody,
    I am always looking for new ideas about the Java Bean and PJC stuff. Sometimes I have good ideas about this, but sometimes it is quite a pain to find something new and innovative.
    If you have ideas or needs about this, let me know in this thread.
    (Sorry Oracle staff if I am going beyond my rights by using the Forum for that purpose)
    Francois

    Francois ,
    I think that we all need to thank you for all your hard work promoting Oracle Forms.
    Your input and constant support on this forum is greatly appreciated.
    But I personally think that all this needs to be addressed by Oracle.
    Your wrote
    Sometimes I have good ideas about this, but sometimes it is quite a pain to find something new and innovative.
    And I agree with you.
    You can go as far as the Forms let you go...
    Thanks,
    Michael

  • How to embed excel in java bean area on oracle forms 9i?

    Hi,
    I am trying to embed excel in oracle forms 9i using java bean. I want to open excel sheet in the bean area not as seprate application. Means i donot want to excel running separately from forms on the machine.
    If any body knows the solution please reply.
    Best regrads,
    Shiraz

    Hi
    Is it possible to create a java bean, with a click event which populates data from database table to an excel sheet.
    The data(can be obtained in a string format with delimiters, but can anyone help me in exporting this into an excel sheet). and also to provide user to take prints of the data in the excel sheet.
    If Print of the JTable could be done(by settin printable as this), but this involves unwanted buttons to be printed, and entire table is not available in the spread sheet format.
    Thanks in Advance
    Deepa

  • Hello, Sorry I have this new version problema. Ustanovil mozily are no longer automatically load images in the settings of this feature is enabled.

    Здравствуйте, извините у меня такой вопрос. Я установил последнюю версию мозилы, и у браузер перестал автоматически открывать изображения, данная функция включена в настройках.

    You can use these steps to check if images are blocked:
    *Open the web page that has the images missing in a browser tab.
    *Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    *Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    *Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    *Select the first image link and scroll down through the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    *https://support.mozilla.com/kb/Images+or+animations+do+not+show
    *http://kb.mozillazine.org/Images_or_animations_do_not_load

  • How to Use COM Component in a Java Bean

    Dear Sir,
    How can I use a COM Component in a Java-Bean . I am having a COM Component for reading Weighment Reading on a Serial Port and want to use this Component in a Java-Bean . I would also like to call the methods of this COM Component inside my Java-Bean . COM Component is a dll file .
    Please guide me how to go ahead . If possible kindly provide some sample code for the same .
    With Thanks and Regards
    B V Mittal

    You need a Java to COM bridge like Jacob. Try searching this forum for more information, I've answered this question several times before.
    Dom.

  • APPHANGB1 when browsing the web, or just keeping it open. Happens once in a 5 minutes, and it freezes for 30 seconds. I found many people who have this problem too ....

    APPHANGB1 when browsing the web, or just keeping it open. Happens once in a 5 minutes, and it freezes for 30 seconds. I found many people who have this problem too ....

    Odds are only someone that develops apps for iOS would have access to whatever this is and, even then, this information may still not be available.
    I would do a backup of your phone & then erase it and restore from the backup to see if the odd behavior goes away. If so, something went funny with your update the first time around. If not, there's something in your backup that's making the phone throw a fit.
    I resolved my battery issues (more or less) by disabling the "set date/time automatically" setting. I haven't re-enabled it yet but my battery life has been much better with it off.
    ~Lyssa

  • How to get the status of Javascript inside a java class

    Hi,
    Can anybody let me know the way by which I can get the status of Javascript (enabled/disabled) in browser inside a Java Class.
    I do have a trick -
    <input type="hidden" name="jstatus" value="disabled">
    <input type="submit" name="submit" onClick="doChecking()">
    <script language= javascript>
    function doChecking()
    document.form.jstatus.value = "enabled";
    submit();
    Now inside our java class we can check the value of "jstatus" if it is disabled then it is disabled else it is enabled.
    Ha ha wat a stupid trick...... ;-)
    Plz let me know a real approach to determine the Javascript status.
    Cheers !!!
    Irshad

    Actually, I don't think that trick is stupid at all. Javascript and Java are normally in no way related (javascript is just plain text content to your servlets / jsp's). So a good way of getting such information to your server is submitting it, like you do.
    Another possibility would be to do it with Ajax in the background, but that all depends on what you do with the information.

  • Can i change my old iPad with the new one, i Will pay the difference... Do you have this kind of program?

    Can i change my old iPad with the new one, i Will pay the difference... Do you have this kind of program?

    If you are past the return date, you can sell the older iPad and put the money towards a new one.
    Plus, old iPads make great gifts ! ! !

  • All my documents got deleted from all of my devices and I have no idea how. Is it possible to get them all back? Please help

    I went into my pages app the other day and found that all of my documents were GONE. I have no idea why or how, but they are gone from all of my devices. Is it possible to get them all back? Please someone help me!!

    Without a backup source I don't see how you'll be able to restore them.  You might just give it some time to see if they reappear due to some server glitch at Apple's end.  If you think there may be an issue with Time Machine you can try posting a question on that over in the appropriate OS X forum.

  • HT6065 after the update, my time, name, etc - all disappeared from the right upper finder bar.  Anyone else have this issue?

    after the update, my time, name, etc - all disappeared from the right upper finder bar.  Anyone else have this issue?

    First, make sure they are all still enabled in the respective System Preferences.
    If the are, then do you have any third-party menu extras? They will often interfere with the others if they are not compatible.

  • Runtime in Java- Beans

    I have the requirement to write a Java- Bean, which calls a command line Application on the Client. The Problem is: if I call a command- line Application, it seems that Java grabs the Input and Output- streams (I dont see anything in the command line Application; if I call a Windows Application it seems to work).
    I cant use getInputStream()/getOutputStream, because I can write data only in the Java- Console Window, not in the Console Window I opened before...
    Its also not useful to start a new process using the command line (cmd /c start sqlplus), because after starting the process the called console window closes, and the JavaBean continues with execution (very very bad...)
    plz help me ;)
    thanks

    uhm...that seems to work, yes, but...
    I have solved the problem in a Client App with this Topic, but it I have a JavaBean on an Oracle iAS, and if I use System.out.println, then I get the output in the Java- Console Window OF THE BROWSER, not in the Console Window I just called...
    I just want to call a simple sqlplus command line client, create packages in the Oracle Database and see in this window how the packages are created/ if there are errors etc.

Maybe you are looking for

  • HR - Programming without Logical database

    Hi All I have some doubts, I am mainly using Logical database while creting Reports in HR, if I want to use HR function modules and BAPI do they use logical database, question is when we have to do HR programming with Logical database and when withou

  • How to assign two url for a single picture?

    I have a picture and put it into sprite,like follows:    var loader:Loader=new Loader();    addChild(loader);      loader.load(new URLRequest("logo.jpg")); At the right top of logo.jpg,and there are two word location in the logo.jpg,one is 'home' and

  • QUicktime 7.2 Pro Player no longer sees my Inspire 1394

    After updating to QTPro 7.2 I'm no longer able to use my Presonus Inspire 1394 as an input device. It only does it in QTPlayer. Logic, Soundtrack, Garageband and even iChat see it as a valid input device. Definitely a bug. I thought it might be a cor

  • WLC 5508 duplex mismatch error

    Hi I've got a WLC 5508 connected to a Catalyst 6000 switch. In the switch I've get a CDP duplex mismatch error every 30 min. %CDP-4-DUPLEXMISMATCH:Full/half duplex mismatch detected on port 3/23 with the show port command I can see this: Port  Name  

  • What is logical volume identifier

    I'm surprised to see in my desktop this Logical Volume Identifier since the recent update. what is this? - thanks