Loading Transparency in Image

I have a JSlider and I want an image to mark the center of the slider. This image has a transparent background:
    JSlider j = new JSlider();
    static final int BARHEIGHT = 15;
    static final int BARYPOS = 15;
    public BreakEvenSliderUI(JSlider js)
     super(js);
     j = js;
    public void paintTrack(Graphics g)
     g.setColor(new Color(0.5f,0.0f,0.0f,0.3f));
     g.fill3DRect(0,BARYPOS,
               xPositionForValue(j.getValue()),
               BARHEIGHT,true);
     g.setColor(new Color(0.0f,0.0f,0.5f,0.3f));
     g.fill3DRect(xPositionForValue(j.getValue()),BARYPOS,
               j.getWidth() - xPositionForValue(j.getValue()),
               BARHEIGHT,true);
     File f = new File("images/logo.png");
     try
          BufferedImage image = ImageIO.read(f);
          Image beCenter = image;
          int xCenterOfTrack = (int)((j.getBounds().getWidth()) / 2);
          g.drawImage(beCenter,
                   xCenterOfTrack - 25,
                   BARYPOS - 15,
                   j.getBackground(),
                   j);
     catch(IOException ex){}
    }Graphics.drawImage() is painting the transparent part of the image to the background color. However, is there a way to have it paint what is behind the image and not just the background?

http://www-128.ibm.com/developerworks/library/j-begjava/index.html
i forgot this one
http://java.sun.com/docs/books/tutorial/2d/images/drawimage.html
hope it will help you !!!!!!!!!
Message was edited by:
supareno

Similar Messages

  • How to load a tif image in flex

    Hi All,
    Is it possible to load a tif image in flex. If it's possible
    anyone guide me or send me some code snippets regarding how to
    display a tif image in flex.
    Regards,
    Dharma

    "flexdharma" <[email protected]> wrote in
    message
    news:ga2d96$p8h$[email protected]..
    >
    Hi All,
    > Is it possible to load a tif image in flex. If it's
    possible anyone guide
    > me or send me some code snippets regarding how to
    display a tif image in
    > flex.
    Convert it to the much more web-friendly png format.

  • How to load a boot image to cisco aironet 1140 series after missing boot image

    Hi all,
    I need a solution for this. When i switch my cisco aironet 1140 , it s blinking with red light .and gives a message "no boot image to load".
    When i tried next time, by pressing escape it shows this message that i have mentioned below.
    ap:
    ap:
    using  eeprom values
    WRDTR,CLKTR: 0x83000800 0x40000000
    RQDC ,RFDC : 0x80000035 0x00000208
    using ÿÿÿÿ ddr static values from serial eeprom
    ddr init done
    Running Normal Memtest...
    Passed.
    IOS Bootloader - Starting system.
    FLASH CHIP:  Numonyx P33
    Checking for Over Erased blocks
    Xmodem file system is available.
    DDR values used from system serial eeprom.
    WRDTR,CLKTR: 0x83000800, 0x40000000
    RQDC, RFDC : 0x80000035, 0x00000208
    PCIE0: link is up.
    PCIE0: VC0 is active
    PCIE1: link is NOT up.
    PCIE1 port 1 not initialized
    PCIEx: initialization done
    flashfs[0]: 1 files, 1 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 32385024
    flashfs[0]: Bytes used: 1536
    flashfs[0]: Bytes available: 32383488
    flashfs[0]: flashfs fsck took 16 seconds.
    Reading cookie from system serial eeprom...Done
    Base Ethernet MAC address: 28:94:0f:d6:c8:62
    Ethernet speed is 100 Mb - FULL duplex
    The system is unable to boot automatically because there
    are no bootable files.
    C1140 Boot Loader (C1140-BOOT-M) Version 12.4(23c)JA3, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Compiled Tue 18-Oct-11 14:51 by prod_rel_team
    ap:
    So , now my question is how to load the boot image ? From where will we get this ? OR
    I m also having another Cisco aironet 1140 , Can i get bootimage from that . Kindly let me know the solution from genius ?

    Take a look at this link as it should have the info you need
    https://supportforums.cisco.com/docs/DOC-14636
    Sent from Cisco Technical Support iPhone App

  • How to load a background Image on a JDialog object

    Hi All, Actually i am new to java programing and i am stuck in this problem. I am developing a java application which is dialog based (using JDialog objects) and i want to load a background image on my dialog. I hope this could be done and i really appreciate your help because i must deliver this project and this is a user interface requirement.

    Try something along the lines of this: Create a new class called BackgroundImagePanel and have it extend JPanel.
    Have an attribute in the class for your image, and a method to set it.
    Override isOpaque() to return true.
    Override the paintComponenet method as such:
    public void paintComponent (Graphics g) {
    super.paintComponent(g);
    if( image == null ) return;
    Icon icon = new ImageIcon(image);
    icon.paintIcon(this, g, x, y);
    Add this panel to your JDialog and then add other component to this panel.
    You might have to tweak this a bit, but it should get you close...
    Bill

  • How to load a PNG image from a location in CF card

    Hi,
    I am using WTK 2.5.2. I wanted to load a PNG image to Image object. The image is loaded when I have it in the classes folder. But I want to select different image from a different location. If I try to open an Image to createImage(String) from a different location, I get IOException.
    Please help me.
    Thanks
    Deekshit M

    I got the answer, I should be using Image.createImage(InputStream) API. It works fine.
    Thanks
    DM

  • Spry Menu problem with using a transparent background image

    Hi-  I'm new to CS5 and Dreamweaver. I just finished the beginning webpage tutorial and I have started to work on a personal project. The Problem: when I use a transparent png image as a backgroun-image for my spry menu it shows up fine in live view, but doesn't work in browser view (safari), in fact the menu reverts to it's original grey and blue boredom. Does anyone have a solution for me? Does this mean it will be grey and blue when it goes live? Thanks, Ruth333333

    Please supply a link to your site.
    Gramps

  • How to save transparent background images to have transparent background thumbnails with Photoshop 2014?

    In old versions of Photoshop there was a feature that made thumbnail images have a transparent background.  I'm a CC member using Photoshop 2014 on a MacBook Pro running OS X 10.9.4 and every thumbnail of a transparent background image I've created in Photoshop 2014 appears on my desktop with a solid white box background that has a thin black outlined box inside of it.  How do I save the transparent background images I've created in Photoshop 2014 so they will appear on my desktop as thumbnails with a transparent background?   I'd like to continue to be able to replace the default background-less folder icon that that appears on files with transparent background thumbnails to customize my files as I use to do with older versions of Photoshop.

    If your layered document has a Photoshop background layer it visibility need to be set off when saving a PNG or Gif file for Photoshop background layers do not support transparency.
    Thumbnail may be a bit more complicated than you think. I do not use Lightroom, and only occasionally use the bridge.  I believe Lightroom and Bridge  keep thumbnails they develop for image files  in their library databases and caches.  Other programs do not have acces to  these.  RAW Files and Image files have Jpeg previews stored in then.  I believe most application use these previews jpeg to create thumbnails.  Jpeg format does not support transparency.
    Icon on the desktop are not always thumbnails some are embedded icons in application modules other are icon in dll these may well have transparency. However image file on the desktop have generated thumbnails.  However you can create a shortcut for an image png file and create a icon with a transparent background for the png file and change the shortcut's icon for the png file to the transparent ico file you created for it.
    Also many Photoshop release ago an Adobe module created Thumbnails for image files in Windows File explorer and most likely system file dialog. Adobe stopped supporting that stating Microsoft changes how windows works.
    Today I use FastPictureViewer Codec Package to generate image thumbnails for image files including RAW and PSD files in File Explorer and system file dialogs.
    I don't use a Mac don't know what available for your Mac.

  • Loading only last image

    This code is loading the xml correctly, populating the mainClipArray correctly, but only adding the last image to the stage.
    I think it is not waiting for completeClipLoad() to complete.  I tried removing :void from the function to see if waiting for a return would do it, but no luck.
    Any ideas?
    CODE:
    var myXML:XML;
    var xmlLoader:URLLoader = new URLLoader();
    var mainClipArray:Array = [];
    var counter:int = 0;
    var myLoader:Loader = new Loader();
    xmlLoader.load(new URLRequest("portfolio.xml"));
    xmlLoader.addEventListener(Event.COMPLETE, completeXMLLoad);
    function completeXMLLoad(e:Event):void{
        myXML = XML(e.target.data);
        var len:int = myXML.portfolio.unit.length();
        for(var i:int = 0; i<len; i++){
            counter = i;
            mainClipArray[i] = new pane();
            //Load small image
            var smallfilename = myXML.portfolio.unit[i].small.filename;
            myLoader.load(new URLRequest(smallfilename));
            myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeClipLoad);
            mainClipArray[i].x = i * 15;
            addChild(mainClipArray[i]);
    function completeClipLoad(e:Event):void{
        trace("made it in");
        mainClipArray[counter].addChild(myLoader);
        trace("added child");

    Delaying the progress isn't going to help if you still have only one loader.  I would say that you could move the var myLoader:Loader = new Loader(); line inside the loop so that you have a new loader instance for each loading occurence, but then you would also need to adjust the completeClipLoad function to use the event target (e.target) instead of "myLoader".  But that still wouldn't resolve matters completely because you have that counter variable that will be working as fast as the for loop, with the loop likely finishing before the first item gets loaded... and since your completeClipLoad also makes use of that variable, you'll end up with only the last pane object being used.
    If you want to control the order of loading and retain the code in the one place (the other suggestion offered above having the code inside the pane could also be a viable approach), then a better strategy is to to use a programmed loop rather than a for loop, where only one loading occurs at a time and the completion of one loading triggers the next to begin.  Something like (this is just an outline form)...
    counter = 0;
    imgArray;
    function completeXMLLoad(e:Event):void{
         ... // process all the xml into the imgAray
        loadSmallImage(); // start by loading the first image only
    function loadSmallImage(){
         // create loader instance
         // assign load complete listener
         // load imgArray[counter]
    function loadComplete(e:Event) {
         // process the loaded image in a new pane
         // increment counter
         // if counter is < imgArray.length -> loadSmallImage();

  • JDeveloper 11g just displays Loading... image only

    Hi,
    I am having problem in testing my web application. i m using JDeveloper 11g 11.1.1.0.0 and ADF faces.
    the problem occurs whenever i run my web application. the browser displays white page with Loading... image and keeps showing this image and nothing else happen.
    this happened when i build my web from scratch but when i used applications workspace that i downloaded from the tutorial websites the problem does not happen.
    any help would be appriciated.

    here is my Log file...... plz suggest any solution ....... i tried my application on different machine as well not working.....
    C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=192m
    WLS Start Mode=Development
    CLASSPATH=;C:\oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=C:\oracle\MIDDLE~1\patch_wls1030\profiles\default\native;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\oracle\MIDDLE~1\patch_cie660\profiles\default\native;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\oracle\MIDDLE~1\JDK160~1\jre\bin;C:\oracle\MIDDLE~1\JDK160~1\bin;C:\oracle\FRHome_1\jdk\jre\bin\classic;C:\oracle\FRHome_1\jdk\jre\bin;C:\oracle\FRHome_1\bin;C:\oracle\FRHome_1\jlib;C:\oracle\BIToolsHome_1\jdk\jre\bin\classic;C:\oracle\BIToolsHome_1\jdk\jre\bin;C:\oracle\BIToolsHome_1\jlib;C:\oracle\BIToolsHome_1\jre\1.4.2\bin\client;C:\oracle\BIToolsHome_1\jre\1.4.2\bin;C:\DevSuiteHome_1\jdk\jre\bin\classic;C:\DevSuiteHome_1\jdk\jre\bin;C:\DevSuiteHome_1\jdk\jre\bin\client;C:\DevSuiteHome_1\jlib;C:\DevSuiteHome_1\bin;C:\DevSuiteHome_1\jre\1.4.2\bin\client;C:\DevSuiteHome_1\jre\1.4.2\bin;C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
    Starting WLS with line:
    C:\oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=192m -Xverify:none -da -Dplatform.home=C:\oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.05\DEFAUL~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.05\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    <Aug 4, 2009 7:36:58 AM GMT-06:00> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    C:\oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
    <Aug 4, 2009 7:36:59 AM GMT-06:00> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
    <Aug 4, 2009 7:36:59 AM GMT-06:00> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
    WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
    WebLogic Server Temporary Patch for CR381265 Wed Oct 08 10:15:58 PDT 2008
    WebLogic Server Temporary Patch for CR380913 Wed Oct 15 13:24:22 PDT 2008
    WebLogic Server Temporary Patch for CR382965 Fri Nov 21 15:51:48 PST 2008
    WebLogic Server Temporary Patch for CR383260 Thu Nov 20 12:58:15 PST 2008
    WebLogic Server Temporary Patch for CR383202 Fri Nov 21 09:58:15 PST 2008
    WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
    <Aug 4, 2009 7:37:01 AM GMT-06:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 4, 2009 7:37:01 AM GMT-06:00> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Aug 4, 2009 7:37:01 AM GMT-06:00> <Notice> <Log Management> <BEA-170019> <The server log file C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Aug 4, 2009 7:37:11 AM GMT-06:00> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Aug 4, 2009 7:37:16 AM GMT-06:00> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
    <Aug 4, 2009 7:37:16 AM GMT-06:00> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
    <Aug 4, 2009 7:37:18 AM GMT-06:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Aug 4, 2009 7:37:18 AM GMT-06:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 4, 2009 7:37:20 AM GMT-06:00> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Aug 4, 2009 7:37:20 AM GMT-06:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Aug 4, 2009 7:37:20 AM GMT-06:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Aug 4, 2009 7:37:20 AM GMT-06:00> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 4, 2009 7:37:20 AM GMT-06:00> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.30:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 4, 2009 7:37:20 AM GMT-06:00> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Aug 4, 2009 7:37:20 AM GMT-06:00> <Warning> <Server> <BEA-002611> <Hostname "SPC", maps to multiple IP addresses: 192.168.1.30, 127.0.0.1>
    <Aug 4, 2009 7:37:20 AM GMT-06:00> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 192.168.1.30, 127.0.0.1>
    <Aug 4, 2009 7:37:20 AM GMT-06:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Aug 4, 2009 7:37:20 AM GMT-06:00> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    DefaultServer startup time: 31156 ms.
    DefaultServer started.
    [Running application Fusion_app on Server Instance DefaultServer...]
    Uploading credentials.
    ---- Deployment started. ---- Aug 4, 2009 7:37:27 AM
    Target platform is (Weblogic 10.3).
    Running dependency analysis...
    2009-08-04 07:37:28.234: Writing WAR file to C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\o.j2ee\drs\Fusion_app\Fusion_app-ViewController-webapp
    2009-08-04 07:37:28.359: Wrote WAR file to C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\o.j2ee\drs\Fusion_app\Fusion_app-ViewController-webapp
    2009-08-04 07:37:30.796: Writing EAR file to C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\o.j2ee\drs\Fusion_app
    2009-08-04 07:37:30.843: Wrote EAR file to C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\o.j2ee\drs\Fusion_app
    Deploying Application...
    <Aug 4, 2009 7:37:35 AM GMT-06:00> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application Fusion_app is not versioned.>
    Aug 4, 2009 7:37:35 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    Aug 4, 2009 7:37:36 AM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
    INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
    Aug 4, 2009 7:38:08 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/oracle/Middleware/jdeveloper/system/system11.1.1.0.31.52.05/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Fusion_app/vhyezh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    Aug 4, 2009 7:38:08 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/oracle/Middleware/jdeveloper/system/system11.1.1.0.31.52.05/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Fusion_app/vhyezh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    Aug 4, 2009 7:38:08 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/oracle/Middleware/jdeveloper/system/system11.1.1.0.31.52.05/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Fusion_app/vhyezh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    Application Deployed Successfully.
    Elapsed time for deployment: 42 seconds
    ---- Deployment finished. ---- Aug 4, 2009 7:38:09 AM
    Run startup time: 43562 ms.
    [Application Fusion_app deployed to Server Instance DefaultServer]
    Target URL -- http://127.0.0.1:7101/Fusion_app-ViewController-context-root/faces/adf.task-flow?adf.tfId=orders-flow&adf.tfDoc=/WEB-INF/orders-flow.xml
    Aug 4, 2009 7:38:22 AM oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    WARNING: ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    Aug 4, 2009 7:38:22 AM oracle.adfinternal.controller.util.model.AdfmInterface initialize
    INFO: ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
    Aug 4, 2009 7:38:23 AM oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider <init>
    INFO: ADFc: Controller caching of MDS metadata resources ENABLED.
    <Aug 4, 2009 7:38:33 AM GMT-06:00> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@185aa63 - appName: 'Fusion_app', name: 'Fusion_app-ViewController-context-root', context-path: '/Fusion_app-ViewController-context-root', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@385e76[
    GET /Fusion_app-ViewController-context-root/faces/adf.task-flow?adf.tfId=orders-flow&adf.tfDoc=/WEB-INF/orders-flow.xml HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    ]] Root cause of ServletException.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:4957)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5054)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1280)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6415)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:118)
         Truncated. see log file for complete stacktrace
    java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         Truncated. see log file for complete stacktrace
    >
    <Aug 4, 2009 7:39:39 AM GMT-06:00> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@185aa63 - appName: 'Fusion_app', name: 'Fusion_app-ViewController-context-root', context-path: '/Fusion_app-ViewController-context-root', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@9d476e[
    GET /Fusion_app-ViewController-context-root/faces/adf.task-flow?adf.tfId=orders-flow&adf.tfDoc=/WEB-INF/orders-flow.xml HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Cookie: JSESSIONID=6TpJK45GLsdg1ZRfJdypDhC7ZgQzJybRrZLPWbd6WKdxpV1gv5yM!2087942931
    Cache-Control: max-age=0
    ]] Root cause of ServletException.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:4957)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5054)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1280)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6415)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:118)
         Truncated. see log file for complete stacktrace
    java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         Truncated. see log file for complete stacktrace
    >

  • Safari 2.0.3 - Pages load with no images or some images

    Hi
    I just bought a new iMac Intel. It comes with safari 2.0.3
    Any page on the web loads without the images. In place of the image is a ? icon.
    If I hit the reload button a few times, the images load up. Sometimes even after a dew reloads, some images are still not loaded.
    Any idea why this is happening?
    Thanks in advance for any assistance.

    I have not changed any of the Quicktime settings yet.
    Since posting I have installed Firefox. Firefox loads the page www.apple.com flawlessly.
    If you would like me to check any of the quicktime settings, can you give me more details on how to do this?
    Thanks for your advice

  • Some images not loaded in flex Image Control.

    Hi,
        Can anybody help me. I am loading friends album image in flex Image control. Its strange that some image do not load even the path is fine and I can open in browser.  I think there is time out issue.
    Thanks in advance.

    Hi premkant81,
    Try to register the following event Listeners and try to trace out the problem...
    I hope you are using either Loader or URLLoader to load the images...Try to register the below  eventListeners for the Loader..and check
    HTTPStatusEvent.HTTP_STATUS
    SecurityErrorEvent.SECURITY_ERROR
    IOErrorEvent.IO_ERROR
    What is the size of the Image files you are loading...???
    Thanks,
    Bhasker Chari

  • I have a problem with loading the PNG image

    I have a problem with loading the PNG image from site. For ex. go to icefilms com and is starts to load png like crazy CPU is huge and you can not shut down Firefox at least a minute. This is not just in this site but whit any one whit lots of pictures.
    Image from firefox: Picture [http://img836.imageshack.us/img836/9910/7312011103147pm.jpg 1] [http://img28.imageshack.us/img28/8505/7312011103249pm.jpg 2] [http://img706.imageshack.us/img706/5615/7312011103348pm.jpg 3 ][http://img827.imageshack.us/img827/8483/7312011103533pm.jpg 4]
    This is my Task Manager [http://img217.imageshack.us/img217/5715/7312011103621pm.jpg 1]
    - I try safe mode, same thing
    -All addons and plugins are ok
    Any idea why is this so big problem.

    i did both of them, but still the while sending the mail the diolog box is not showing up and also the spelling and grammer does not do the spelling check. 
    This problem just started for about 3 to 4 days now.  earlier it was working normally.

  • Loading JPEG/Gif images causes Out Of Memory Error

    Hello Java gurus, please shed some light on this.....
    I am not a java newbie, but I am a java newbie in the area of dealing with graphics. I am using JDK 1.4.2_01 on Win XP with 2.4ghz and 512 RAM. When I try to read in a (or a few) JPEG image into a JLabel using ImageIcon, I get an out of memory error everytime. This happens whether I am reading the image out of a jar file or out of a local directory. The JPEG's are 8.5" x 11", and range between 150kb to 900kb. I am trying to load approximately 10 images in a JTabbedPane using new JLabel(ImageIcon) on individual JPanels (one JPanel for each JPEG). Now I get the java.lang.outofmemory error whether I try to load 1 image or 10 images. Anyone got a clue as to what I am doing wrong? I actually do get one image loaded before the error gets thrown. So I do know that it is trying to load the right image. What is going on here? Is it an ImageIcon problem, or are there others who have run into this. It has brought this project to a grinding halt, and I had thought this would be the easier part!!!! Please help me out gurus! Thanks!

    What options/values are you suggesting that I set? Or do you mean something else? Thank you for any ideas that can help me solve this problem. I never had any issues dealing with using ImageIcon for toolbar button graphics (file sizes of 1-3kb), but now with dealing with full page graphics I have run into a brick wall with this out of memory error.

  • Load in a image to a class

    Hi.
    Im a newbie on java and want some help, im trying to load in a image(gif) from my hardrive into a class, and draw it on the screen.
    I know how to do it with swing, but just want to do it with awt.
    And i dont want too use applet, is this possible??
    /Blomman

    Thx Steve i managed to do it, with a toolkit etc, but
    i didnt use canvas.Yeah, Canvas is just one way to go (the most common if you just want an image you can pick up and move around) but just about any visible component works...
    >
    Yes im doing an Applet, but i just vant too make the
    classes first, and get them too work, im making a game
    and the applet just gonna run all kinds of classes, i
    dont know if this is the best way too do it, im
    learning ;).Apps are much easier to work with, since you don't have to worry about security, compatability, and such, but keep in mind a couple of things:
    If you are going to use Applet you will not be able to use the Toolkit, you will Have to use the Applet's getImage method. So you will have to change the code.
    You will not be able to read/write from Files in an Applet without a lot of security issues and permission problems...
    >
    I dont want too use swing either, cause in the future
    my dream is too make this app a midlet too..;)Completely understandable when working with Applets and stuff since MS JVM won't use Swing, but for stand alone apps, like I had thought you were doing, swing is the way to go...
    >
    /Blomman

  • Optimization on Load Time (Large Images and Sounds)

    Hi,
    I have an all flash website that works by having each portion of it to load and unload in the center of a frame based off the navigation chosen.  Load times on everything but one part of my site are ok.
    The dimensions of the part inside the frame are 968x674.  I know that's relatively large for a flash file, but that can't be changed at this point.
    Within the page there are objects that come up when you find an item on the screen.  Its a dialog box and it shows text, an image, and has a voice over that reads what the text says.  After you're done looking at it, there is an x-button to dismiss the window.  There are 15 of these and they are exported to the actionscript.  I add them in the actionscript via addChild.  I figured this is a huge spot that could be reconfigured, but I'm not sure if it would make much a difference.
    The other huge thing is there is a ton on the screen.  It starts you off in an environment, and when you click 3 different sections, it zooms into that portion allowing you to look for the items you're trying to find.
    There is also a man that talks and animates in the beginning and at the end.  We are planning on taking out the end part and putting a text box up.
    Here is the website..  its a propane safety site for kids.  I know its kind of a weird idea, but it works and people seem to like it.
    www.propanekids.com
    The two parts of the site we are trying to optimize is the main menu when you first are at the site, and the "Explore" section.  (Just click on the cloud on the front page.
    If someone could take the time to give me some new ideas of how I can get these loading times down, I would greatly appreciate it!
    Thanks

    Ok, who ever posted this message is hacking me  and i can't believe you guys are helping
    Date: Thu, 27 Jan 2011 11:07:28 -0700
    From: [email protected]
    To: [email protected]
    Subject: Optimization on Load Time (Large Images and Sounds)
    Hi,
    I have an all flash website that works by having each portion of it to load and unload in the center of a frame based off the navigation chosen.  Load times on everything but one part of my site are ok.
    The dimensions of the part inside the frame are 968x674.  I know that's relatively large for a flash file, but that can't be changed at this point.
    Within the page there are objects that come up when you find an item on the screen.  Its a dialog box and it shows text, an image, and has a voice over that reads what the text says.  After you're done looking at it, there is an x-button to dismiss the window.  There are 15 of these and they are exported to the actionscript.  I add them in the actionscript via addChild.  I figured this is a huge spot that could be reconfigured, but I'm not sure if it would make much a difference.
    The other huge thing is there is a ton on the screen.  It starts you off in an environment, and when you click 3 different sections, it zooms into that portion allowing you to look for the items you're trying to find.
    There is also a man that talks and animates in the beginning and at the end.  We are planning on taking out the end part and putting a text box up.
    Here is the website..  its a propane safety site for kids.  I know its kind of a weird idea, but it works and people seem to like it.
    http://www.propanekids.com
    The two parts of the site we are trying to optimize is the main menu when you first are at the site, and the "Explore" section.  (Just click on the cloud on the front page.
    If someone could take the time to give me some new ideas of how I can get these loading times down, I would greatly appreciate it!
    Thanks
    >

Maybe you are looking for

  • Nationnal Language Support and Error ORA-01858

    Hi, I have a problem using NLS. When I use NLS for Italian,I become the error ORA-01858 --> "a non-numeric character was found where a numeric was expected". But with the same query I use for NLS_Italian,it works with NLS_German and NLS_English. I us

  • Delete ARP table entry

    I need to create a program to delete an entry in the ARP table in Windows 7 with LabVIEW or TestStand.  The test that I am developing communicates with the DUT over Ethernet.  Each DUT has the same IP address to start but different MAC addresses.  I

  • GRE Tunnel/NAT with multiple subnets and interfaces

    So, I am not sure if we are trying to accomplish too many things at once and what we are attempting to do is not possible or if we are missing something in our configurations... Here is the situation... We are migrating some equipment between datacen

  • No sound g60-235DX Windows XP only after standby

    Thanks to CherylG and Provost, I was able to convert the above said computer from Vista to XP.  The thing runs great, except for one small annoyance... When I bring the computer back from standby, there is no sound. The Conexant 221 driver is there,

  • 2.2 Ghz MacBook Pro or 2.4 Ghz?

    I'm thinking about buying a MacBook Pro that has a 2.2 Ghz intel core duo but is there a substantial difference in the performance of 2.2 Ghz and the present 2.4 Ghz model? Also do only the new MacBook Pros have the iPhone touch gestures or can the o