Loading Images with 1.3.1 Problem

Hi!
I've got a couple of swing applets that use Images. One uses the images for icons and one just draws the images. The images are loaded from jar files. Using version 1.3.0, everything works fine. When I load the applet using 1.3.1 or 1.4, however, the images do not appear on the screen. According to the Java Console, the images did load. I saw messages like:
Loaded image: jar:file:/C:/rgajava/MKSLeak/jar/leak.htmlMKSLeak.jar!/images/audiooff.gif
Loaded image: jar:file:/C:/rgajava/MKSLeak/jar/leak.htmlMKSLeak.jar!/images/audioon.gif
that were displayed when I upped the trace level. The images still do not appear.
Does anyone know how to fix this? I am loading the images using getImage(URL,String).
Thanks,
Derek

As a partial answer to my own question, the Java tutorial declares that some browsers cannot load images from jar files. This appears to be the case with IE5.5 and Java 1.3.1, but it is strange that IE5.5 and Java 1.3.0 seem to have no problem. Nevertheless, the applet works well and images load if the images are accessed outside of the jar file.
Derek

Similar Messages

  • Loading images with different horizontal sizes

    I would like to load images with different horizontal
    resolutions (vertical resolution to be the same) dymanically into
    an empty movie clip. I would like them to load with the right hand
    side of the image lined up with the right hand side of my site. I
    have seen many tutorials about how to accomplish the loading of the
    movies, but I cannot figure out how to make them open with the
    right hand side always lined up on the right.
    To be more specific, let's say I have three images of the
    varying pixel resolutions (1200x600, 800x600, and 400x600 for
    example). I would like the horizontal size to always extend away
    from the right hand side of the site with the right hand edge of
    the images always lined up.
    Is this possible to do by loading them into an empty movie
    clip?
    thanks

    When you load an image file into an empty movieClip, that
    clip takes on the dimensions of the loaded content. The
    registration point for the clip is set to the upper left corner.
    So, once the new image is loaded, just set that clip's .x to the
    stage width - the width of the clip.

  • Loading images with transitions

    Hi,
    trying to have slideshowish thing, loading images with transitions.
    I have this code for first image, what I need to load next images...?
    import fl.transitions.Tween;
    import fl.transitions.TweenEvent;
    import fl.transitions.easing.*;
    import flash.events.*;
    var curTween:Tween = new Tween(1_mc, "alpha", Strong.easeOut, 100, 0, 3, true);
    curTween.addEventListener(TweenEvent.MOTION_FINISH, fadeBackIn);
    function fadeBackIn(event:TweenEvent) {
         var nxtTween:Tween = new Tween(1_mc, "alpha", Strong.easeIn, 0, 100, 3, true);

    i'm not sure that makes sense.  you're fading out 1_mc and then fading it back in.
    normally you would fade out a previous image and fade in the next image.

  • Loading images with properties in Forms6

    Hello !
    I would like to use Mmix32.ocx with Forms6 to have properties and
    methods of loaded images !
    But I don't know how , cause I imported Ole library interfaces MMix control without results !
    I need an exemple !
    thanks !

    Me too !
    I would like to use Mmix32.ocx with Forms6 to have properties of images !
    I imported Ole library interfaces MMix control !
    I have an error:
    FRM-41344:ole object not defined for <item name> in current record !

  • Load images with some effects

    Hi, I wanted to load java images with some effects like we have in power point like blinds or appear in Java swing when user clicks on the image.
    I have these specific questions in mind:
    1.Is there a way to do this in Java?
    2.Also how will this behave when the image to load is huge like 25 Mega Pixel?
    3.If we are dealing with large images being switched, what mechanism should be used for incorporating images in the application?
    4. Can there be a provision of displaying an image over another one with the one on the top having some transparency?
    Thanks,
    Sandeep

    Kayaman wrote:
    835085 wrote:
    how can this be done? do you have any pointers. i have played with swing earlier but did not know about the effects thingy.Well I didn't mean that you'd have ready made powerpoint-like effects (unless someone has created a library for that kind of stuff). I mean Java is a programming language, Powerpoint is a crime against nature.
    You'd need to program those effects (or find a library that does).OK, i think i will have to try this out first.
    The point is that i wanted to confirm to go with java or choose python.
    I need to track user inputs and display really large images. Now the interaction is really on graphical side like have moving images in the application which are transparent. I know Java but havent played with images yet and was not sure whether it will be worth spending days on this and then switch to python.
    >
    well my scenario will be 2x2 matrix of screens. it will be a 25 MP screen. so wont this work now in this context?Sure, if you have the resolution.
    i was thinking in terms of response time. any inputs?And I was answering in terms of response time. The Fullscreen API. Of course you'll need to keep all the images in memory (or at least a certain range if you want to show them fast enough).
    4. Can there be a provision of displaying an image over another one with the one on the top having some transparency?Sure.any pointers?Well, Java does support transparency and alpha channel. But you'll need to go through the APIs to find ways to do those.
    Is there a reason why you want to do this in Java?I mentioned that I have worked on swing before but was not sure to do it in a totally new prog. language like python.

  • Loading image with loadMovie

    I am loading an image to a movie clip (name container) using
    loadMovie but when the image loads the movie clip is resized to the
    size of the loaded image, is there a way to prevent that from
    happening? I want the movie clip to retain its original size.
    Thank you for your help,

    Loaded images or swf's only inherit position, rotation and
    scale. They load
    at their original size though. If you want to resize them to
    fit a
    particular area, you'll need to do that with AS. First you
    will need to stop
    using loadMovie and use the MovieClipLoader class instead.
    You should be
    using it anyway, it's better.
    Simple example that loads an image from my C: drive into a
    clip named 'hold'
    var myLoader = new MovieClipLoader();
    var lis = new Object();
    lis.onLoadInit = function(targ:MovieClip){
    targ._width = 83;
    targ._height = 119;
    myLoader.addListener(lis);
    myLoader.loadClip("c:/dm_phillips_2005.jpg", hold);
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • DHTML List (Image) with Sublist and authorization problems

    Dear all -
    I wonder if anyone can help with this DHTML drop-down menu query:
    We use hierarchical menus implemented as DHTML Lists (Image) with Sublists. When some of the items are hidden through authorization, the wrong headers appear for the menus.
    For example:
    Menu
      Item 1
        Subitem 1 of Item 1
        Subitem 2 of Item 1
      Item 2
        Subitem 1 of Item 2
        Subitem 2 of Item 2
    Say Item 1 and its subitems are all hidden through authorization controls. The heading for Item 2 then appears as 'Subitem 2 of Item 1' instead of 'Menu'.
    There's an example here:
    http://htmldb.oracle.com/pls/otn/f?p=11837:1
    Anyone know why this is happening?
    Thanks for your time.
    John.
    PS. Any idea where my previous post on this subject has disappeared to?

    Carl - in the example on htmldb.oracle.com, in Menu2 I'm hiding all the elements in Category 1 (parent and children), although not the 'grandparent' (Menu2).
    I'm therefore still expecting the menu title to be 'Menu2', because that's Category 2's parent.
    It doesn't appear to be an issue with the sequence of the items, because I've changed all those about and still got the same problem.
    To be more specific, again using the htmldb.oracle.com example, in Menu2 we have:
    Menu2
      Category 1 (Hidden)
        Item 1 of Category 1 (Hidden)
        Item 2 of Category 1 (Hidden)
        Item 3 of Category 1 (Hidden)
        Item 4 of Category 1 (Hidden)
      Category 2     
        Item 1 of Category 2     
        Item 2 of Category 2     
    And Scott - thanks for picking up the previous post - for some reason I couldn't for the life of me find that yesterday (in fact I still can't find it when I search).
    Thanks for looking into this.
    Regards,
    John.

  • Need help Loading images with selection on a form field?

    So I'm kind of a newb.. I can do basic forms but I need to set up a form field drop down box that will give me the ability to load images correlating to the users choice. I'm at a total loss for where to start, so ANY help would be appreciated. If you know of any good books or tutorials on the subject please share.
    Thanks in advance
    Sincerely,
    Stumped4now 

    P.S. I think I'm getting a better understanding of OCGs after lots of research today. However I still seem to be missing something
    var docOCGs = this.getOCGs();
    for (var x=0; x < docOCGs.length; x++)
      if(docOCGs[x].name == "Layer1")
      docOCGs[x].state = !docOCGs[x].state;

  • Safari not loading images with UK2 webmail

    Hi, i wonder if anyone can shed any light on this for me please. I use UK2.net webmail which i access through safari on my imac and ipad. For the last couple of days images have stopped loading with all my emails, (and won't load at all). I have tried firefox on the imac and this works fine, so it is definitely a safari issue. I have contacted UK2 and they have said that it's a browser issue not an issue with their server and that i need to contact Apple to see if they know what this is. Is anyone else having this problem or can anyone suggest a fix?
    Thanks

    webmail which i access through safari on my imac and ipad. For the last couple of days images have stopped loading with all my emails
    Try emptying the cache on your iMac and iPad.
    One the iMac with Safari open, press Command + Option + E on the keyboard. Quit and relaunch Safari to test.
    On the iPad. Tap Settings > Safari. Tap Clear History then tap Clear Cookies and Data. Restart your iPad.

  • Tomcat not loading images with mod_jk

    I have images stored in a database which when retrieved have the extension .tmp when I view these images using tomcat they are recognised as being jpeg or bmp files etc. and are displayed as images.
    When the same images are viewed using tomcat through apache using the mod_jk module, the images appear as text.
    If I try viewing the same images in apache on its own they appear fine. To repeat this, take a jpeg file and change its extension to .tmp place the file in a tomcat application, lookat the image using tomcat on its own //localhost:8080/myapp/myimage.tmp it appears fine, look at it using apache using mod_jk //localhost/myapp/myimage.tmp and it appears as text. Has anyone got any clue as to how to fix this.
    I am using apache 2.0 with mod_jk 1.2.15 and jakarta-tomcat-5.0.28
    Any help would be most appreciated, mod_jk drives me mad!!!. Thanks Mike.

    webmail which i access through safari on my imac and ipad. For the last couple of days images have stopped loading with all my emails
    Try emptying the cache on your iMac and iPad.
    One the iMac with Safari open, press Command + Option + E on the keyboard. Quit and relaunch Safari to test.
    On the iPad. Tap Settings > Safari. Tap Clear History then tap Clear Cookies and Data. Restart your iPad.

  • Cannot access address book contacts in yahoo mail. Firefox 4. Contacts list will not load. With Windows Explorer, no problem.

    Recently, yahoo mail upgraded their program. When I try to access my contacts (address book) the contacts list won't load. The little spinning icon just keeps spinning. I think this is a Firefox problem because Internet Explorer works okay. Also, I have problems accessing some secure sites using Firefox 4, but not with Explorer. I prefer Firefox. How can I resolve this?

    I have no access to my Yahoo contacts. I cannot search or browse them. The only way I can get ONE is by adding the contact from an email. Then, if I ask to see more contacts either through the partial alphabet buttons or to see the entire list of contacts, I'm back to the same search page where NOTHING happens. Did I say this is VERY frustrating?? HELP

  • Loading images into text field - links problem

    Hello,
    I use AS3 and I load external text from XML to the text field created manually. External text includes hyperlinks and <img> tags. The problem is if I load more than 1 image this way , my links no longer work. They work if I load only 1 image...
    Text field is multiline, wraps the text, got embedded font and autoSize is set to "left"...
    I could not find any solution to this, is there any?!
    Thanks for any thoughts.

    // XML
    <?xml version="1.0" encoding="utf-8"?>
    <content>
    <text><![CDATA[<font color="#ffffff" size="25"><b>Title</b></font>
    <br />
    <a href="www.google.com" target="_blank">Nulla tincidunt</a> commodo <b>fermentum. Suspendisse</b> venenatis suscipit vehicula. Phasellus eu est non tellus fringilla mattis id in magna. Nullam suscipit fermentum ipsum, at semper ante auctor viverra. Morbi gravida tristique aliquam. Mauris facilisis urna et arcu rhoncus ac tempor velit consectetur. Vestibulum lacus justo, rutrum vitae ultrices nec, porta quis orci. Proin pellentesque mauris quis eros semper vulputate. Etiam sed magna et dolor dapibus sodales.
    <br />
    <img src="content/image.jpg">
    <br />Vivamus sit amet metus orci, facilisis dignissim arcu. Suspendisse fringilla varius mauris, in gravida purus cursus non. Integer lacinia faucibus turpis, nec tempus leo porttitor quis. Cras id posuere elit.
    <br />
    In eros purus, commodo eu fermentum id, blandit ut ligula. Curabitur arcu dolor, laoreet convallis fermentum eu, ullamcorper id est. <a href="www.google.com" target="_blank">Etiam varius viverra dui eu placerat</a>.
    <br />
    <img src="content/image.jpg">
    <br /><a href="www.google.com" target="_blank">Nulla tincidunt</a> commodo fermentum. Suspendisse venenatis suscipit vehicula. Phasellus eu est non tellus fringilla mattis id in magna.]]>
    </text>
    </content>
    // AS
    var myXML:XML;
    // inside "Event.COMPLETE" function
    myXML = new XML(xmlLoader.data);
    myText.htmlText = myXML.text.*;

  • Loading images with file:// on Linux and Windows

    Hi,
    i've found (maybe) a bug. In my application i load some files from the temp dir. In Linux from /tmp, in Windows from C:\Temp.
    If i use
    file://<TempDir><file>(results in)
    file:///tmp/myfile
    and
    file://C:\Temp\myfileit works in Linux but not in Windows.
    If i use
    file:/<TempDir><file>(results in)
    file://tmp/myfile
    and
    file:/C:\Temp\myfileit works in Windows but not in Linux..
    Is there a "clean" solution without manually check which operating system is used (e.g. some config to set)?
    Thanks in advance
    Edited by: toxiccrack on Sep 25, 2009 1:41 AM

    Thank you Tunde for looking at my issues!
    The file size is not an issue here. We tested with empty files or files with smaller than 1KB sizes. They all showed problem. The frequency of file transfer shouldn't be a problem either. Through some user interaction on front panel, a couple of files will be transferred. That's basically how often the file transfer occurs.
    Interestingly enough, I replaced the copy.vi with a subvi I created using DOS command with System Exec.vi and the issue of copying files went away. My co-worker tested on both XP machine and Windows 7 machine. The DOS command worked fine thru Lavview's System Exec.vi. I think I can take that as a work-around if we can't figured out why copy.vi wouldn't work. Still, it would be nice to know why it doesn't work.
    Now I'm still facing some issues with the usage of Check If File or Folder exist.vi. Sometimes it can detect the existing files and sometimes it doesn't.
    Thanks very much! 

  • Linux cpio images with the 9i database problem

    Hi,
    I have downloaded the 3 gzip files for linux, and converted them to cpio files, then exctracted everything, everything is okay till here.
    But I don't have enough disk space for the instllation + the images, so my question is how to convert the 3 exctracted disks into 3 iso files and burn them into cds, I can't seem to find the right parameters for 'mkisofs' command, because that tool keeps renaming files into its own, Anybody could help ???

    I'm not sure how much space you have.
    I am also VERY new to installing Linux (of any version) and Oracle.
    I would try to download one image file at a time.
    run gunzip on it,
    then run the CPIO -idmv command provided by the Oracle download site and then delete the <file>.cpio.
    Copy the <directory>/Disk1 to a /mnt/cdrom/
    Delete the <directory>/Disk1 and start from scratch with file2.gz.
    Just a suggestion from a newbie.

  • Load image with ROMMON Cat4000 Switch

    I have a Catalyst 4006 switch that boot to ROMMON. I am trying to figure out ohow to load the image from my PC to the switch. Command from a ROMMON list are very limited. There is no TFTP or XMODEM or YMODEM to assit in uploading the image. Any ideas?

    Did you even look at the douments I pointed to in my previous post before inferring my post was "not helpful"(rating of 1). CAT4000 switches do not support XMODEM and you will need to use the 10/100 MGMT port to boot the image from a PC/laptop and then TFTP it. You are a network admin and have to put some effort as well and not just expect people to spoon feed you. So spend a few minutes to read the documents since they descrive on how to recover the switch when there is no image in the bootflash and post any follow up questions you might have.

Maybe you are looking for

  • Voice memo sync with iphone4 IOS 5.1

    Dear all, I cannot sync my iphone 4 voice memos to itunes 10.6,  older voice memos, before FEB 2012, do  appear in voicememoms playlist in itunes but the newer ones do not. i am using ihone4 with IOS5.1 Can you help? ZAM

  • Regarding file in KM .

    Dear Expert ,   There is a file in KM folder like /harmony/Home/Hello.txt.When I am writing by placing \t in between old comments and new comments it's adding the characters in the same line .But My requirment is that each  sentence should come into

  • RM887 - Error in MFBF

    Hi, While doing MFBF (via BAPI) I am getting error "change rem profile regarding generation of postprocessing records" Message No RM 887. I am using same REM profile for many other materials for which MFBF is working fine. There are no COGI errors pe

  • Anyway to automatically download app updates?

    i had to disable automatic app updates on my ios device as i have limited bandwidth and would want a single copy of the universal apps to be downloaded and install on all my devices which can be done only via itunes on the mac. sadly, itunes doesn't

  • Google searches redirect to google search screen

    For past two days google searches will not allow me to reach a searched result. Touching the. Result redirects to the google search screen. Is anybody else experiencing this? Is it an iPad pr.oblem or a google problem? Is there anyway on the IPad to