Loading Images in Applications

Hi.
I know how to load images in applets with the getImage method that comes with the Applet class, but I cant seem to find a way to do it in an application.
I found a Toolkit class, but that required me to extend it when I am already extending the Frame class.
The Frame class comes with a getImage method, but that requires a getCodeBase() method that comes with the applet class.
How would I get an image using an application?
Thanks in advanced
Glen.

You don't need to extends Toolkit to impelement its abstract method. you can get default Toolkit by calling static method in Toolkit, getDefaultToolkit().
Toolkit kit = Toolkit.getDefaultToolkit();

Similar Messages

  • Images in the shared library not loaded in the application EAR

    The images in the shared library are not getting loaded in the application EAR deployed in the weblogic server.
    I have a portal web project, which is deployed in the server, as a shared library. I'm using this shared library in my application EAR. All the details like the portlets, look and feel elements are loaded. But the images are not displayed when I run my application. Please help!!
    Can it be a problem with the context path specified or something else?

    Hello,
    It is most likely an issue with how your portlets are creating the URLs to the images. What kind of portlets are you using (JPF, JSF, JSR168, Struts, JSP)? And how are you generating the URLs to the images?
    Kevin

  • Loading images in an application

    hi guys hope you can help me, im currently indulge in application programming and i need to load images in an application, i use a JTabbedPane as my main component so i use 4 panels to differentiate the different sections of my the JTabbedPane my problem is i need to display different images on each panels(diff images on 4 diff panels of the JTabbedPane....how will i do this? ope you can give me an idea.....thank you very much and God Bless us All!

    You can load different images by using
    Image testImage = new ImageIcon("c:\testimage.gif").getImage();this.
    Hope this serves your needs.

  • Application: Loading images

    How do I find the directory where the application is running from? With applets I use getDocumentBase(), but how do I do it with an application? I need it for loading images and other files to use within the application.
    Audun Steinholm

    private String iName = ".\\spr\\Dark.gif";
    this points to the file name dark.gif, which resides in the sub directory Spr, which resides in the directory from which the application was run.
    for instance, if i ran the executable jar from C:\programs\java
    it would look like
    c:\programs\java\program.jar
    C:\programs\java\spr\dark.gif
    does that make sense?

  • Why won't safari load images and connect to websites?

    We've had this problem intermittently for several months. When visiting SOME websites (though never the same ones twice) instead of loading images, it comes up with a blue question mark in a box. if we try to reload the page, it will do one of two things: it will either reload exactly the same, or, it will reload in a format that shows vertical written links - no images. it almost looks like programming language, but it's readable.
    also, when we go between links, we often get the message that "safari can't find the server". this is, again, erratic. If i try to go directly to the same website by typing in the address in the bar, i will get the connection. (so, if i go from youtube for example to try to connect to another website it won't work. but if i try to go directly to that website by just typing in the address myself, i can get it.) as i said, it doesn't always happen, but when it does it's a real pain!
    lately, i've had a new problem too, which seems to relate: when using hulu.com, it will not load the show saying it is unavailable and to clear my cache. I've done that... and it still won't reload. yet, when i go to google, and search hulu.com, and go to the website that way, i can get to the show page no problem. Or, i have to quit safari and then go back to hulu and, again, no problem.
    sometimes we can go for days without the problem, sometimes not.
    any ideas on how to help this problem would be MOST appreciated! thanks

    blue question mark in box
    Go to Safari > Preferences then select the Appearance tab. Make sure Display images when the page opens is selected.
    For server issues, try turning off the router for a few minutes, then restart it.
    Hulu requires the Flash plugin. Uninstall your current copy of Flash, then reinstall >  Troubleshoot Flash Player | Mac OS
    Try emptying the Safari cache more often.
    And reset Safari. From your Safari menu bar click Safari > Reset Safari. Select the top 5 boxes, click Reset.
    And how much free space on the startup disk?     Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    Try Safari in another user account. Same problems there, then log back into your admin account, launch Disk Utility.  /Applications/Utilities
    Select the startup disk in the panel on the left then select the First Aid tab.
    Click: Verify Disk  (not Verify Disk Permissions). If the startup disk needs repairing, follow the instructions for Using Disk Utility to verify or repair disks

  • How to load images from css file in JavaFX 8

    I have this css file which loads images in JavaFX 8 application:
    #pill-left {
        -fx-padding: 5;
         -fx-border-image-source: url("/com/dx57dc/images/left-btn.png");
        -fx-border-image-slice: 4 4 4 4 fill;
        -fx-border-image-width: 4 4 4 4;
        -fx-border-image-insets: 0;
        -fx-border-image-repeat: stretch;
         -fx-background-color: null !important;
    #pill-left:selected { -fx-border-image-source: url("/com/dx57dc/images/left-btn-selected.png"); }
    #pill-left .label {
        -fx-text-fill: #d3d3d3;
        -fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
    #pill-left:selected .label {
        /* -fx-text-fill: black; */
        -fx-text-fill: white;
        -fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
    #pill-center {
        -fx-padding: 5;
         -fx-border-image-source: url("/com/dx57dc/images/center-btn.png");
        -fx-border-image-slice: 4 4 4 4 fill;
        -fx-border-image-width: 4 4 4 4;
        -fx-border-image-insets: 0;
        -fx-border-image-repeat: stretch;
         -fx-background-color: null !important;
    #pill-center:selected { -fx-border-image-source: url("/com/dx57dc/images/center-btn-selected.png"); }
    #pill-center .label {
        -fx-text-fill: #d3d3d3;
         -fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
    #pill-center:selected .label {
        -fx-text-fill: black;
        -fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
    #pill-right {
        -fx-padding: 5;
        -fx-border-image-source: url("/com/dx57dc/images/right-btn.png");
        -fx-border-image-slice: 4 4 4 4 fill;
        -fx-border-image-width: 4 4 4 4;
        -fx-border-image-insets: 0;
         -fx-border-image-repeat: stretch;
        -fx-background-color: null !important;
    #pill-right:selected { -fx-border-image-source: url("/com/dx57dc/images/right-btn-selected.png"); }
    #pill-right .label {
         -fx-text-fill: #d3d3d3;
        -fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
    #pill-right:selected .label {
        -fx-text-fill: black;
        -fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
    The images are located at the Java package com.dx57dc.images
    In Java 7_25 this code works as expected but in JavaFX 8 b99 I get this error:
    ava.lang.NullPointerException
    at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1129)
    at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
    at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
    at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:233)
    at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:199)
    at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1249)
    at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
    at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
    at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:233)
    at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:199)
    at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1249)
    at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
    at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
    at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:99)
    at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(AbstractPainter.java:210)
    at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:95)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
    at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:129)
    at java.lang.Thread.run(Thread.java:724)
    D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
    20 total resources being managed
    4 permanent resources (20.0%)
    1 resources locked (5.0%)
    7 resources contain interesting data (35.0%)
    0 resources disappeared (0.0%)
    D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
    20 total resources being managed
    4 permanent resources (20.0%)
    1 resources locked (5.0%)
    7 resources contain interesting data (35.0%)
    0 resources disappeared (0.0%)
    D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
    20 total resources being managed
    4 permanent resources (20.0%)
    1 resources locked (5.0%)
    7 resources contain interesting data (35.0%)
    0 resources disappeared (0.0%)
    What is the proper way to load images from css in Java 8?
    Ref
    How to load images from css file in JavaFX 8 - Stack Overflow

    There is nothing special to do - you execute the statement from your program just like any other SQL statement.  The only thing to be aware of are the privilege/permission issues:
    When loading from a file on a client computer:
    READ CLIENT FILE privilege is also required for the database user.
    Read privileges are required on the directory being read from.
    The allow_read_client_file database option must be enabled.
    The read_client_file secure feature must be enabled.
    Revoking these privileges is also the only way you can prevent a user from executing the statement.

  • Part 2: Load Image from URL into Dynamic Text Box - goodinson.snapshot

    I have a flash file where a user can add an image url into a Dynamic Text Box (image_in.text) and the image will now appear in the flash file.
    I am using goodinson.snapshot as featured in this article: Saving Flash graphics as image files at runtime | Adobe Developer Connection
    This application works fine (graphic is generated and downloaded) only if a user chooses an included graphic in the flash file (loaded externally) or if I declare a url inside the flash file for the load image variable (var image_url:String = "http://website.com/image.jpg";).
    However, if a user enters an image url into the Dynamic Text Box (image_in.text), which the flash does successfully load, the download image function no longer works!
    Is this a security bug in flash itself? Or am I missing a code tweak somewhere? 
    If an FLA that does this already exists somewhere, let me know.
    Thanks in advance for your help!

    Thanks for your response!
    The image urls are on the same domain as where the swf is.
    I don't understand how declaring the variable as the url is different from declaring it from the value of a dynamic text box... it's the same url, but only one method works, shouldn't they both work?
    var image_url:String = "http://website.com/image.jpg"; works..
    var image_url:String = image_in.text; does not work, even though the value for image_in.text is identical to the one in the example above.
    Since they are all on the same domain, this should work, right?
    Thanks again.

  • Custom loading image JSP dynpage

    Hello,
    Wa have created a jsp dynpage, and want to show a custom loading image. I other applications (appintegrator) we have succesfully changed the loading image by exporting the theme that we are currently using, change the loading_ani.gif image and re-importing the theme. This change has no effect on the loading image of the JSP dynpage, it is still the one supplied by SAP. I checked the url of this image and got the following https://host:port/htmlb/mimes/common/loading/loading_ani.gif, so I tried changing the loeding image that is stored in the htmlb par file, but there was no visible result when loading the application, or when loding the direct url of this image. Can anyone tell me where I can change the loading image of the JSP dynpages?
    Kind Regards
    Timon Van Soom

    Juhi Bhatnagar
    Greetings!!!
    May i know , what is the procedure need to be followed to replace the default Loading ICON with our custom image.
    2. Does our custome image should be a image file (like jpg, png) or its like a command
    Kindly share the procedure for this...
    Appreciate your response in advance'
    Thanks

  • How to import images in Application

    I know how to import images in Applet. Can anybody give me small example of how to import images in Application?

    import is a bad word to use in this context
    it's better to say 'how to load an image' i guess
    at any rate, there are 50 million articles, postings, samples, etc. that deal with loading images in Java
    search google

  • Referencing loaded images in APEX

    Hi all:
    Up until this point, I have used the same method of getting images to be recognized by an Apex
    installation. That specifically has been through loading images into a physical directory on the
    machine where APEX was installed. This was made available to me by the DBA that installed APEX.
    This is Application Express 2.2.0.00.32 running on AIX Unix.
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    This arrangement worked. I was able to reference any image loaded to that directory using
    "/i/[image].gif". "/i/" was set as my pseudo directory by default on Apex.
    Over time, I developed an application that is now ready to deploy in like environments and I have
    never had a problem with viewing graphics.
    For the purposes of demoing to a specific customer, I was asked to deploy this to a different environment
    temporarily, I was given the option of loading my application to a Windows XP environment running
    Oracle XE and Application Express 2.1.0.00.39.
    Since there was no physical directory that I could locate for images, it seemed to me that my only
    option was to load my images using the wizard for loading image file components (which I understand
    means using XDB)...
    I was not been able to get this to work. I went back to my AIX Unix/Oracle 10g installation and attempted
    to do the same (load images as a file component and reference them). To my surprise it didn't work there
    either.
    These are the steps I took in attempting this:
    1.) Within my application definition, go to "Shared components"
    2.) Under the Files section, I click on "images"
    3.) Click on the button labeled "Create"
    4.) The page "Create Image" appears. I click on the "Browse" button and I pick the image from my local file system.
    5.) I leave the drop-down list as is (reading "No Application Associated")
    6.) I click on the "Upload" button.
    I then go back to my application under "Edit Attributes" and reference the file as /i/[file].gif
    I find that the images do not show up. On IE, all I get is the standard red "X" indicating that
    an image file failed to load.
    I can't help thinking that I'm missing an obvious step. Let me know if there's any other info I should
    provide.
    Thanks

    HI,
    To reference images loaded through shared components use:
    #WORKSPACE_IMAGES#filename.gif (when you set it to No Application Associated)
    or
    #APP_IMAGES#filename.gif (when you associate it with a specific application)
    Graham

  • Taking time to load image

    Hi,
                   I have implemented an image scroller. Now the client had reported that a few seconds are taking to load images. We have a local server. When we load images from it, it's not taking that much time to load images. You just copy the following code in a notepad save it as .html extension, which is the widget taken from client site.
    <script type='text/javascript' language='javascript'>
    var ObjetTag = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0' width='100%' height='100%' id='ImageScroller' align='middle'> <param name='allowScriptAccess' value='always' /> <param name='allowFullScreen' value='true' /><param name='movie' value='http://test.nysaenet.org/Higherlogic/SwfFiles/ImageScroller.swf' /><param name='quality' value='high' /><param name='FlashVars' value='CommPage=http://test.nysaenet.org/NYSAENET/NYSAENET/Resources1/Resources/VideoChapterCallback/Defau lt.aspx&DID=7da33f1e-6f00-4ff3-85cb-51cb0a995e84&ScaleMode=Auto&ImageControl=Auto&IWidth=A uto&IHeight=Auto&ScrollerArea=Auto&DistanceBetweenImages=Auto&TransSpeed=Auto&ScrollMode=A uto&WaterMark= &ControlButton=Auto&TransWaitTime=Auto&PlayerPath=http://test.nysaenet.org/Higherlogic/SwfFiles/ImageScroller.swf&JSFun=ResizeSwf' /><embed src='http://test.nysaenet.org/Higherlogic/SwfFiles/ImageScroller.swf' quality='high' width='100%' height='100%' name='ImageScroller' align='middle' allowscriptaccess='always' allowFullScreen='true' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' FlashVars='CommPage=http://test.nysaenet.org/NYSAENET/NYSAENET/Resources1/Resources/VideoChapterCallback/Defau lt.aspx&DID=7da33f1e-6f00-4ff3-85cb-51cb0a995e84&ScaleMode=Auto&ImageControl=Auto&IWidth=A uto&IHeight=Auto&ScrollerArea=Auto&DistanceBetweenImages=Auto&TransSpeed=Auto&ScrollMode=A uto&WaterMark= &ControlButton=Auto&TransWaitTime=Auto&PlayerPath=http://test.nysaenet.org/Higherlogic/SwfFiles/ImageScroller.swf&JSFun=ResizeSwf'  /></object>";
    function ResizeSwf(newW, newH)
    {document.getElementById('ImageControl').style.width = newW+'px';
    document.getElementById('ImageControl').style.height =newH+'px';
                            </script>
                            <script src='http://test.nysaenet.org/Higherlogic/SwfFiles/eolasfix.js'
                                type='text/javascript' defer='defer'>
                            </script>
                            <div id='ImageControl' style='width: 100%; height: 100%; background-color: #FFFFFF'>
                                <script type='text/javascript' language='JavaScript'>document.write(ObjetTag);
                                </script>
                            </div>
    Try with following code, save it in a notepad with .html extension, which is the widget taken from our local site.
    <script type='text/javascript' language='javascript'>
    var ObjetTag = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0' width='100%' height='100%' id='ImageScroller' align='middle'> <param name='allowScriptAccess' value='always' /> <param name='allowFullScreen' value='true' /><param name='movie' value='http://test.higherlogic.com/Higherlogic/SwfFiles/ImageScroller.swf' /><param name='quality' value='high' /><param name='FlashVars' value='CommPage=http://test.higherlogic.com/SNAMATEST/SNAMATEST/Resources/VideoChapterCallback/Default.asp x&DID=c24bb0e5-9698-4ebb-b180-d9a89682cb4c&ScaleMode=Auto&ImageControl=Auto&IWidth=Auto&IH eight=Auto&ScrollerArea=Auto&DistanceBetweenImages=Auto&TransSpeed=Auto&ScrollMode=Auto&Wa terMark= &ControlButton=Auto&TransWaitTime=Auto&FadeTime=Auto&PlayerPath=http://test.higherlogic.com/Higherlogic/SwfFiles/ImageScroller.swf&JSFun=ResizeSwf' /><embed src='http://test.higherlogic.com/Higherlogic/SwfFiles/ImageScroller.swf' quality='high' width='100%' height='100%' name='ImageScroller' align='middle' allowscriptaccess='always' allowFullScreen='true' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' FlashVars='CommPage=http://test.higherlogic.com/SNAMATEST/SNAMATEST/Resources/VideoChapterCallback/Default.asp x&DID=c24bb0e5-9698-4ebb-b180-d9a89682cb4c&ScaleMode=Auto&ImageControl=Auto&IWidth=Auto&IH eight=Auto&ScrollerArea=Auto&DistanceBetweenImages=Auto&TransSpeed=Auto&ScrollMode=Auto&Wa terMark= &ControlButton=Auto&TransWaitTime=Auto&FadeTime=Auto&PlayerPath=http://test.higherlogic.com/Higherlogic/SwfFiles/ImageScroller.swf&JSFun=ResizeSwf'  /></object>";
    function ResizeSwf(newW, newH)
    {document.getElementById('ImageControl').style.width = newW+'px';
    document.getElementById('ImageControl').style.height =newH+'px';
    </script>
    <script src='http://test.higherlogic.com/Higherlogic/SwfFiles/eolasfix.js' type='text/javascript' defer='defer'>
    </script>
    <div id='ImageControl' style='width:100%; height:100%;background-color:#FFFFFF'>
    <script type='text/javascript' language='JavaScript'>document.write(ObjetTag);
    </script>
    </div>
    Why the loading time is varying on different server?
    Regards,
            Sreelash

    Hi Ross, the image loading problem is not solved yet. The client needs to solve it at any cost. He is saying that the problem might be with the effeciency of code. So my PM is asking to modify the code.Youc can view the image scroller in this specified site: http://test.nysaenet.org/NYSAENET/NYSAENET/Home/
    I am attaching the class that is using for loading images. In this class, after loading the images, some masking effects are given. I think you can understand about after viewing the image scroller and the class. Hope you ll reply as soon as possible. I am wasting more than one week for this purpose. I am not getting any idea.
    Regards,
              Sreelash.S.

  • Problem loading image from jar file referenced by jar file

    First, I searched this one and no, I didn't find an answer. Loading images from jar files has been pretty much done to death but my problem is different. Please read on.
    I have my application, a straight up executable running from Eclipse. It uses a jar file, call it JarA. JarA launches a GUI that is located in another jar file. Call it JarB. To recap:
    My application calls JarA -> JarA loads classes from JarB -> JarB looks for images to place in a GUI it wants to show on the screen
    When JarB goes to load an image the following happens:
    java.lang.NullPointerException
         at sun.misc.URLClassPath$3.run(URLClassPath.java:316)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:313)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:290)
         at sun.misc.URLClassPath.findResource(URLClassPath.java:141)
         at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
         at java.lang.ClassLoader.getResource(ClassLoader.java:977)
         at org.cubrc.gmshell.gui.MainWin.preInit(MainWin.java:152)
         at org.cubrc.gmshell.gui.MainWin.<init>(MainWin.java:135)
    The code from JarB that loads the image looks like this:
              URL[] oSearch = {Main.class.getResource("images/")};
              URLClassLoader oLoader = new URLClassLoader(oSearch);
              imgIcon = new ImageIcon(oLoader.getResource("icon.gif"));
              imgMatchRunning = new ImageIcon(oLoader.getResource("gears.gif"));
              imgMatchStill = new ImageIcon(oLoader.getResource("gears-still.gif"));
              imgMagnify = new ImageIcon(oLoader.getResource("magnify.gif"));This looks right to me and JarB certainly has an images directory with those files. But I'm in hell right now because I don't know where to place the images to make this work or if you can even attempt to load images with a dependency chain like this.
    Any help very appreciated!

    Have you tried to move your image-files out of the jar file and place them in the sam folder as the jar-file? I think that would help.
    When you try to load the image-file you get the NullPointerException because the program tries to read a file it can't find. Remember that a jar file IS a file and not a directory.
    If you want to read somthing inside the jar-file you need to encode it first.
    Have you tried to read the jar-file with winRar. It makes it easy to add and remove files in your jar-file.

  • Loading images using java server page

    I am using NetBeans 4.1 with the latest versions of both the SDK and j2EE sdk.
    OK, all of the JSP and servlets I've done so far have been text only. I am now having trouble loading images.
    I used <img src="images/IMG_0072.jpg" height="50%" width="50%"> to try to load the image, but it isn't working. I have tried various things such as moving the images directory (between having the directory in the same folder as the jsp source files and in the WEB-INF folder)and placing a '/' at the beginning of the path, but to no avail. On viewing the http monitor in Netbeans, I saw no surprises in the request data.
    I have verified that the required images are in the right places, including the war file that Netbeans creates.
    Now I am wondering if the fact that Netbeans puts all the files for the distribution into a war file is complicating my life here.
    It seems to me that my use of the html img tag should not be affected by whether I am using JSP or servlets or plain old html, since in all cases the result sent to the browser is ordinary html (possibly with other, client side stuff that isn't relevant here).
    Can anyone tell me how to solve this particular problem?
    Thanks,
    Ted

    Thanks for the suggestions.
    I tested both, but no joy. I'll have to double check my html.
    I observe that neither test had any impact on the behaviour of the web application. The URI was unaffected, and I still get the 404 not found error. Since I know the image files are there, I don't know why the server isn't finding them, unless I have to do something special because NetBeans 4.1 is putting them into the web applications war file. While I'd expect this to be a faq, as I don't believe I am the first to run into trouble with this, it is an important issue having implications for use of development environments and deploying web applications once development and testing have progressed to the point where deployment is warranted.
    Any other ideas?
    Thanks again,
    Ted

  • Load image into holderMC

    Hi,
    I'm working on an application which places instances from my
    library onto the stage. Every instance has a movieclip inside it
    which is called holderMC. What I want to do is to load external
    images into holderMC except I can't seem to get it working. How
    does one load images into a pre-defined movieclip?

    Oh, sorry, wasn't looking properly. You cannot load images
    into MovieClips like in AS2, you have to use a Loader or the
    UILoader component.
    If you want to be able to position the loader visually, then
    you can give an instance of the UILoader component and instance
    name within the THEPhoto MC, and use the following code:
    MovieClip(photo).holder.load(photoRequest); //where holder is
    the instance name of the loader.
    OR
    Within the ThePhoto class you could create a new Loader:
    public var imgLoader:Loader = new Loader();
    public function ThePhoto () {
    imgLoader.x = 0;
    imgLoader.y = 0;
    addChild(imgLoader);
    and then use:
    MovieClip(photo).imgLoader.load(photoRequest);

  • I was changing my desktop screen saver in system preferences screen protection.  Now it says it is "Loading Images" and won't stop.  The Colourful wheel goes around for ever and It does not stop. Can anyone help me?

    I was changing my desktop screen saver in system preferences>screen protection.  Now it says it is "Loading Images" and won't stop.  The Colourful wheel goes around for ever and It does not stop. Can anyone help me?

    Welcome to the Apple Support Communities
    I have seen a lot of cases like your issue, and it's easy to solve.
    First, open Disk Utility, select Macintosh HD in the sidebar and repair permissions. Sometimes, a permission can be damaged and it makes that an application doesn't work properly.
    If that doesn't work, open Finder, select Go menu > Go to Folder, type ~/Library/Prefereces, delete "com.apple.desktop.plist" and "com.apple.systempreferences.plist" and restart

Maybe you are looking for

  • Form Editing Error

    Hi, I have created a form with all the requirements, upon hitting the edit link, the form is redirecting to the correct page, but, it is showing all the active entries in the table, rather than just the entry to be edited. I have tried using a cfif w

  • TV SERIES outside the United States

    How's it possible to purchase tv episodes from american tv in Europe with my account in iTunes? Totally impossible? What if I buy itunes checks online and I used them for buying those episodes? would it work?? I'm fan of TV series already being broad

  • Brother 3820CN does not show up in AEBS

    Using the new AEBS I have two network/USB Brother printers. I have always used them with my D-Link router connected via Ethernet. Now that I am short one Ehternet connector for my purposes, I thought I could use the USB connection for the second prin

  • Adobe:  Why Not Update The Photoshop Download Package to 13.0.1?

    Just for grins I downloaded the Adobe CS6 software again (all 1.17 GB of it) and compared it to what I downloaded before.  It's the same - 13.0.0. Why the heck doesn't Adobe update their download package to the latest revision? Who in their right min

  • Droid x shipped

    ORDERED MY DROID X ON 8/7/10. RECEIVED SHIPPING NOTICE TODAY, WILL RECEIVE TOMMORROW, 8/20/10.