Image not scaling when loading from client in web forms

I'm using formsserver 6i patchset 11
I've created a java class wich extends oracle.forms.ui.VImage
I'm loading a jpg file from the client into a bean area with this implementation class.
However the image doesn't fit into the bean area(for 1/3 second wants to fit ,and then enlarge herself ,and I'm only seeing a part of the image).
I'm using:
public boolean setProperty(ID p0, Object p1)
if (p0==loadimage)
Image theimage=getToolkit().getImage(p1.toString()) ;
this.setCanvasOrigin(0,0);
this.setCanvasSize(513,338);//bean area's width and height
this.setImage(theimage);
return true;
else
return super.setProperty(p0, p1);
What should I do more ,in order to have the whole image loaded and adapted to the bean area??
Any tips??

I would be happy to use this demo,but,after replacing the jre that formserver was using with jre1.3.*,and setting the system path,classpath to point to this new JRE,look what I'm getting in the JAVA console:
oracle.forms.demos.uploadclient.FileUploader: LoadFile : File Selection
oracle.forms.demos.uploadclient.FileUploader: Selected File = C:\copiere\Elementul.java
oracle.forms.demos.uploadclient.FileUploader: <PERFORM UPLOAD>
java.lang.NullPointerException
     at oracle.ewt.lwAWT.LWComponent.addNotify(Unknown Source)
     at java.awt.Container.addNotify(Unknown Source)
     at java.awt.Window.addNotify(Unknown Source)
     at java.awt.Dialog.addNotify(Unknown Source)
     at java.awt.Dialog.conditionalShow(Unknown Source)
     at java.awt.Dialog.show(Unknown Source)
     at java.awt.Component.show(Unknown Source)
     at java.awt.Component.setVisible(Unknown Source)
     at oracle.forms.demos.uploadclient.FileUploaderProgressBar.setVisible(FileUploaderProgressBar.java:136)
     at oracle.forms.demos.uploadclient.FileUploader.loadFile(FileUploader.java:357)
     at oracle.forms.demos.uploadclient.FileUploaderLoadThread.run(FileUploaderLoadThread.java:40)
oracle.forms.demos.uploadclient.FileUploader: </PERFORM UPLOAD>
Any tips why FileUploader is crashing?

Similar Messages

  • Component Slider not working when loaded from another swf file

    I have a simple Flash application that uses a component Slider to increase or decrease the size of the text in a TextArea (ta). It works perfectly fine on its own, however, when I try to load the same swf file from another application, I get the following error...
    ReferenceError: Error #1069: Property fl.managers:IFocusManager::form not found
    on fl.managers.FocusManager and there is no default value.
    at fl.controls::Slider/thumbPressHandler()
    Code...
    import fl.events.*;
    import flash.text.TextFormat;
    ta.text = "Lorem ipsum dolor sit amet";
    var tf:TextFormat = new TextFormat();
    tf.color = 0xCCCCCC;
    tf.font = "Trebuchet MS";
    tf.size = 12;
    slider.addEventListener(SliderEvent.THUMB_DRAG, sliderChange);
    style();
    function style():void
        ta.setStyle("textFormat", tf);
    function sliderChange(e:SliderEvent):void
        tf.size = slider.value;
        ta.setStyle("textFormat", tf);
    Could the containing swf file that I'm loading the slider swf file in anyway effect the slider application? I don't quite understand why it works on its own, but not when loaded from another app.

    add a slider component to the main (loading) swf's library.

  • Getting printers from client on Web Forms

    I want to capture the network printers from the client pc to
    store in a database column for batch printing. On a client
    server I was able to use ORA_FFI to get the print dialog but you
    cannot use this on web forma. Has anyone any ideas on how to
    get round this, maybe with Java, but I have no Java experience.
    Phil
    null

    I would be happy to use this demo,but,after replacing the jre that formserver was using with jre1.3.*,and setting the system path,classpath to point to this new JRE,look what I'm getting in the JAVA console:
    oracle.forms.demos.uploadclient.FileUploader: LoadFile : File Selection
    oracle.forms.demos.uploadclient.FileUploader: Selected File = C:\copiere\Elementul.java
    oracle.forms.demos.uploadclient.FileUploader: <PERFORM UPLOAD>
    java.lang.NullPointerException
         at oracle.ewt.lwAWT.LWComponent.addNotify(Unknown Source)
         at java.awt.Container.addNotify(Unknown Source)
         at java.awt.Window.addNotify(Unknown Source)
         at java.awt.Dialog.addNotify(Unknown Source)
         at java.awt.Dialog.conditionalShow(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at oracle.forms.demos.uploadclient.FileUploaderProgressBar.setVisible(FileUploaderProgressBar.java:136)
         at oracle.forms.demos.uploadclient.FileUploader.loadFile(FileUploader.java:357)
         at oracle.forms.demos.uploadclient.FileUploaderLoadThread.run(FileUploaderLoadThread.java:40)
    oracle.forms.demos.uploadclient.FileUploader: </PERFORM UPLOAD>
    Any tips why FileUploader is crashing?

  • Forms not run when loading from movie master

    I have a movie called index loading two movies contain forms
    into a movieclip, but not functionally correctly. Otherwise running
    the SWF individually run correctly.
    How fix this???

    sounds like you may have calls to either _root or _level0 in
    your loaded files.
    if they are to _root, you can solve by applying the _lockroot
    property to the load target MCs.

  • Firefox will not play .ogv video files when loaded from a server. Does anyone have any answers that will fix this?

    I've read the suggestions for fixing this, and none of them work. I've updated my .htaccess to match MIME types for .ogv, I've uploaded the files as both Binary and ASCII, neither method works. The .ogv file plays fine when you load it from a local file, but it will not play when viewed from a remote server. I've confirmed with my hosting company that the .htaccess and all other issues for HTML5 are up-to-date. Safari and Chrome play the HTML5 videos just fine, but Firefox will not. Does anyone have any concrete answers as to what the problem is. I'm also serving up the video files as .webm and .mp4, but neither of these formats works in Firefox either.

    That can happen if the server isn't configured properly to send the files with a by Firefox supported MIME type.
    *https://developer.mozilla.org/en/docs/Properly_Configuring_Server_MIME_Types
    Did you check via the Web Console which headers Firefox receives when requesting the .ogv file?
    If that is OK then it is possible that the file is using an unsupported coding method.
    * https://developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements

  • Chinese characters scrambled when loading from DS to BW

    Hi, I've been pulling my hair out with this issue.
    I have a flat file containing Chinese text. When I load this in BW using 'FLATFILE' as a source system, it works fine. BW shows the correct Chinese characters.
    When I do the same load using BODI, I get funny characters.
    When I use BODI to load from one flat file into another flat file, the Chinese characters remain correct.
    What do I need to do to make sure I get the right Chinese characters in BW when loading from BODI?
    BODI is installed on Unix on Oracle 10.
    I run the jobs as batch processes.
    The dsconfig.txt has got:
    AL_Engine=<default>_<default>.<default>
    There are no locale settings in al_env.sh
    BW target is UTF-8 codepage.
    File codepage is BIG5-HKSCS
    BODI is set up as a Unicode system in SAP BW.
    When loading flat file to flat file, I get a message:
    DATAFLOW: The specified locale <eng_gb.iso-8859-1> has been coerced to <Unicode (UTF-16)
    because the datastore <TWIN_FF_CUSTOMER_LOCAL> obtains data in <BIG5-HKSCS> codepage.
    JOB: Initializing transcoder for datastore <TWIN_FF_CUSTOMER_LOCAL> to transcode between
    engine codepage<Unicode (UTF-16)>  and datastore codepage <BIG5-HKSCS>
    When loading to BW the messages are almost the same, but now the last step in UTF-16 to UTF-8.
    I read the wiki post which definitely helped me to understand the rationale behind code page, but now I ran out of ideas what else to check ( http://wiki.sdn.sap.com/wiki/display/BOBJ/Multiple+Codepages )
    Any help would be greatly appreciated.
    Jan.

    Hi all. Thanks for the Inputs. This is what I got when I clicked on the Details Tab of the Monitor....
    Error when transferring data; communication error when analyzing
    Diagnosis
    Data packages or InfoPackages are missing in BI but there were no apparent processing errors in the source system. It is therefore probable that there was an error in the data transfer.
    The analysis tried to read the ALE outbox of the source system. This lead to error .
    It is possible that there is no connection to the source system.
    Procedure
    Check the TRFC overview in the source system.
    Check the connection to the source system for errors and check the authorizations and profiles of the remote user in both the BI and source systems.
    Check th ALE outbox of the source system for IDocs that have not been updated.

  • Access 2010 on 64 Bit Windows 7 Access "Not Responding" when changing from forms view to design view and back

    I am running
    Windows 7 64 bit
    Access 2010 32 bit
    Developing an application with a split FE BE with both files local but continue to have the message "Not Responding" when switching from forms view to design view and back as well as if I try to connect to a subform or object on the sub form.

    I have seen this behavior when the form's RecordSource is a complex query such as a crosstab or a query with several nested queries. To test if this is your case, remove the RecordSource and see if the form starts acting normal again.
    Then again, if the form has several subforms they might be slowing up the loading time.
    Bill Mosca
    www.thatlldoit.com
    http://tech.groups.yahoo.com/group/MS_Access_Professionals

  • My daughter's older Ipod Touch is having a problem with images becoming pixilated when taken from an e-mail and placed into her camera roll. ( She wants to put on Instagram ) Any help?

    My daughter's older Ipod Touch is having a problem with images becoming pixilated when taken from an e-mail and placed into her camera roll. ( She wants to put on Instagram ) Any help?

    I think that may be a consequence of the email provider she is using. Some services (AOL is one example) inspect and modify email attachments, particularly photos, resulting in reduced resolution compared to the email that was sent.
    The iPod does not do this. The resolution of the picture in the email she receives will be identical to what is imported.

  • Anyone Locked a generated SO by item/header when loading from ORDERS05?

    Has anyone managed to sucessfully locked a generated Sales Order when Loading from an IDOC of type ORDERS05?. I create a lock at the item level if necessary, but for some reason it zeroises the item Qty, almost as though there was no Schedule segment supplied, which there is.
    Anyone hit this same problem and overcome it?.
    Blue

    This is in reply to the first post. I don't know what happened after.
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission sun.arch.data.model read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at org.eclipse.swt.internal.Library.loadLibrary(Library.java:167)
         at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)
         at org.eclipse.swt.internal.C.<clinit>(C.java:21)
    If you read the above trace from bottom to top, it shows none of you classes, only classes from that Eclipse library, which seems to loadLibrary() a native DLL. In order to do this, it needs to call System.getProperty( "sun.arch.data.model" ). This call is not allowed from un unsigned applet. So I guess you need to sign the applet and this problem will go away. Many other problems may follow. Just read very very carefully all the related documentation, which I did not.

  • Forms Opening is Very slow when opened from Client PC's.

    All,
    We are running forms application in 10.1.2.0 application server. We have a peculiar issue of slowness while opening forms from client PC's and not while opening from application server itself.
    1) When opening the form from a Windows 7 PC it takes around 25 seconds
    2) When opening the form from a Windows XP PC it takes around 15 seconds
    3) When opening the form from the application server itself it took less than 3 seconds .
    In essence all forms when opened from application server are opening very fast and when opened from client PC's it takes undue time. What might be the reason for the same, can anyone help us and we are pondering over this issue for some time. What are the files of interest to be visited for these kind of issues. We enabled tracing level 5 in JRE and could not find any thing fishy over it.
    Request application server and forms experts to participate and help us to resolve.
    Thanks in advance.

    Even if it's a generic issue you need to break it down in smaller parts to actually get a clue what's causing your problem. By now there is nothing we can rule out as the only thing we know is that it's slow on the client PC's.
    Building a small dummy form as suggested by Andreas is a good starting point. If the performance is also bad for a small form with one block you can rule out that it has anything to do with forms and it's caused by e.g. your network. If the small form performs well rebuild one of your forms step by step and do tests for each step. By that you should find what's causing troubles.
    What you can also take a look at are network roundtrips: You have to set the console window of your forms, and enable networkstats in your formsweb.cfg
    networkStats=yesA typical cause for (unnecessary) roundtrips are e.g. calls to the synchronize built in or timers. If you are using Javabeans you should also take a look at them. If you are looking at your network traffic wireshark is your friend ;).
    cheers

  • TS3276 My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that  o2 account (offline) my mac I have no problem with my iPhone  or mac laptop. any suggestions please.

    My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that  o2 account (offline) my mac I have no problem with my iPhone  or mac laptop. any suggestions please.

    Sorry for the delay...
    I did what you've told me, new account and manually copied my files from Time Machine. I had lots of permissions problems, but at the end, almost everything is in order... It seems it had to be with some of the Apple Preferences, but I can't be sure, as most of them were dumped to the trash can.
    I still don't have my Mail Rules back, unfortunately, although I did goggled some. It is a pity, as I had around 30 or 40 of them, getting my mail in order to each of its mailboxes, but it is a small price as the rest doesn't show the before syntoms.
    Thanks for the help, anyway!!

  • SQL*Loader-971: parallel load option not allowed when loading lob columns

    Hi,
    I am trying to load a table, which has a VARRAY column, using DIRECT=TRUE and PARALLEL=TRUE through
    Sql *Loader 10.2.0.4.0
    OS: Sun Solaris 10 SPARC 64-bit,
    Database: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    The following error recieved:
    SQL*Loader-971: parallel load option not allowed when loading lob columns
    Please help me to resolve..
    Thanks and regrds
    Anji

    user8836881 wrote:
    Hi,
    I am trying to load a table, which has a VARRAY column, using DIRECT=TRUE and PARALLEL=TRUE through
    Sql *Loader 10.2.0.4.0
    OS: Sun Solaris 10 SPARC 64-bit,
    Database: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    The following error recieved:
    SQL*Loader-971: parallel load option not allowed when loading lob columns
    Please help me to resolve..
    Thanks and regrds
    Anjihttp://tinyurl.com/yhxdhnt

  • Serial number not valid when upgrading from LR4 to LR5 [was:leewayphotography]

    J’ai acheté LR 4 il y a 1 an avec le n° de série sur la boite. J’ai acheté l’upgrade pour LR 5 et je n’ai jamais pu installer la version définitive avec ce n° de série.Ce n° de série n'est pas valide. La durée version d’essai est terminée et donc je dois retourner à LR 4 pour continuer à travailler ? Pourquoi cela ne fonctionne pas?

    Bonjour.
    J'ai bien compris votre réponse qu'il fallait utiliser un nouveau n° de série. J'ai bien téléchargé LR5 le 18 mars 2014, j'ai bien reçu une facture
    n° IEE2014000174985 mais je n'ai pas de trace d'un nouveau n° de série. Il n'est pas sur la facture, ni dans le logiciel?
    Que faut-il faire
    Leewayphotography
    From: John Waller
    Sent: Monday, April 21, 2014 10:14 PM
    To: leewayphotography
    Subject: Serial number not valid when upgrading from LR4 to LR5 was:leewayphotography
          Re: Serial number not valid when upgrading from LR4 to LR5 was:leewayphotography
          created by John Waller in Photoshop Lightroom - View the full discussion

  • Roaming Profiles not working when Lenovo Hotkey Client Loader is running on Win 8.1 laptops

    This issue seems to be Windows 8.1 related.  Specifically it is affecting all our X1 Carbon, and T440S laptops running Windows 8.1, but NOT 430S running Windows 7. Basically roaming profiles were creating the proper folder on the file server but the folders were empty.  Through trial and error, I narrowed it down to the "Lenovo Hotkey Client Loader" as listed in msconfig or Program Files\Lenovo\HotKey\TPHKLoad.exe.  Once that service was disabled, the roaming profiles would copy over properly.  I am running the latest and greatest version of "Hotkey Features Integration for Windows 8.1" Ver 5.25.0000.  Wondering if anyone else is seeing this?  Wondering how significant TPHKLoad.exe is? And wondering if we'll see an update to the Features pack to correct this?  Hopefully this post can help some others who are looking at empty roaming profile folders.

    Hi all,
    A
    After few months, problem occurred again and i could not install the windows from the scratch over and over again.
    I started searching problem online and eventually i found the FIX.
    Looks like Registry Entries are getting screwed up somehow.
    My "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProvider" was looking exactly as below:
    ", schannel.dll"
    And i made it as below:
    "msapsspc.dll,
    schannel.dll, digest.dll, msnsspc.dll, credssp.dll"
    The solution for the other person in the link ( cannot share link since site does not allow me to ) as a source was only missing "credssp.dll" whereas i was missing everything except "schannel.dll". Strange...
    ============================
    Adding credssp.dll to the list of SecurityProviders in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders
    fixed it for me. 
    My full registry entry now reads "msapsspc.dll,
    schannel.dll, digest.dll, msnsspc.dll, credssp.dll"
    ============================

  • HTML Signature with logo does not display when read by clients

    I have had this problem for a while now. I am using 10.5.6 and Apple Mail to send all of my emails. I have only one signature for my business email account which is a GoogleMail pro account. I have set up a signature to display my business logo which is sent with every email sent using Apple Mail through the business account with Google.
    It seems that all of the emails read by clients only show the text in the signature and not the logo??? This is infuriating as the message should display fine. Is Apple Mail incapable of sending signatures with logos? I previously sent message from Google in Safari but Google do not yet allow you to create signatures with logos, which is why I thought Apple Mail would be able to simply do this.
    Can anyone suggest a fix or recommend a decent Email Application that will do this. Is Thunderbird any good?

    Well, note that there is no e-mail client that can ensure that your logo will show up in a message, because the recipient controls how e-mail displays. Some people will have HTML display turned off, which means only a plain-text version of your message will be seen. Other people's clients may not show attached images inline. And if the logo is not attached, but is located on your web site and linked to from the e-mail, most e-mail clients have an option to ensure that such images are not loaded. (The reason: this is a common tactic used by spammers to verify addresses... if your e-mail client tries to load the image that is linked in their system to your e-mail address, then they've hit a good address and will start hammering it hard.) Thus, you need to make sure your signature is acceptable in plain text, since no matter what you do, that's all some people will see.
    That said, go to Edit -> Attachments and make sure the Always Send Windows-Friendly Attachments option is checked. This should ensure that any images in your e-mails will be readable to Windows clients.

Maybe you are looking for

  • Is there a way to create indented subsections in my ToC?

    For example, I'd like to have my subset of paragraph styles appear slightly indented to their parent paragraph styles. Paragraph Style Heading 1 "Widgets"...............................................30           Paragraph Style Heading 2 "Installin

  • PC Suite problems after upgrading to the newest ve...

    My Nokia PC Suite just notified me there is a new version. I had no problems running the previous version under my Vista but thought - what the hell, let's see what's new. It turns out the upgrade disabled my internet connectivity (one touch access s

  • Having issues with iTunes 11.1.5 on Windows 8.1

    Ever since I've refreshed my windows computer two weeks ago. I am having issues with iTunes 11.1.5. For some reason I can access the iTunes Store, but most of the time when I do something internet related on iTunes, the app is either stuck on checkin

  • Using multiple computers to connect the ipod shuffle

    How do I use multiple computers. The tech support said once you use one computer you cant change even if you download your itunes disk. Can anyone help?

  • Can you open a Final Cut Pro project file (6.0.6) in Final Cut Express (v4)

    I am working on a project in Final Cut Pro (v 6.0.6) and I need to pass it off to a colleague who only has Final Cut Express (v 4). The media in the project is DVNTSC. I went to the Apple store at the Stonestown Mall in San Francisco today and they a