Finding out Image source

I have an object ImageIcon, thire is image loaded into it from file. Is it possible to get file name of picture from which the image was loaded?
Thanks in advance.

Short answer: no.
Better: extend the ImageIcon class with your own, adding a field that records the file name.

Similar Messages

  • How to find out the source program file in Proposal in Sales Online in CRM

    How to find out the source program file in Proposal in Sales Online in CRM

    You can find it in the oracle->apps->prp directory.
    It is the $JAVA_HOME

  • How to find out the source of an event fired by button in a table in WD?

    Hi experts,
    I'm new to Web Dynpro and I need to know how to find out the source of an event (IWDCustomEvent) fired by a button in a table? I need to know which one is the clicked button (on which row)?
    Help will be appreciated
    Regards

    Hi GLM,
    thanks for your reply. Yes I know about that but when a round trip to the server is made the lead selection is at the first row of the table and when i click the button on, for example, the 3rd row the getLeadSelection method returns 1 and the color marker for the current row stays on the first row. So I need to click first somewhere else on the 3rd row and then on the button in order to update the value of lead selection and it's not very nice. So if you have some other idea it would be very helpful. Or perhaps some workaround.
    Regards

  • In DBI , how to find out the Source Query used for the Report

    Hi All,
    How to find out the Source Query used to display the data in the DBI Reports or Dashboards. We can get it in Apps Front end by Going to Help and Record Histroty. But DBI Runs in Internet Explorer so i dont know how to get the source query ( SELECT Query ) Used.
    In IE we have View --> Source . But that does not help since it gives the HTML Coding and not the SELECT Query used.
    If anyone has ever worked on it...Please help me in finding it.
    Thanks,
    Neeraj Shrivastava

    Hi neeraj,
    You can see the query used to display reports.Follow these steps to get the query.
    1)Login to oracle apps
    2)Select "Daily Business Intelligence Administrator" responsiblity.
    3)Now click on "Enable/Disable Debugging" (Now u enabled debugging)
    4)now open the report which you want to see the query of
    5)In view source it displays query along with the bind varilables.
    Feel free to ping me if you have any doubts
    thanks
    kittu

  • Finding out the source ip and port of an incoming Upacket

    Hi, does anybody know how to find out the source ip address and port of a udp packet coming into an rtp session based on a NewParticipantEvent or a NewReceivedStreamEvent? I would really appreciate any reply...
    thanks

    The only proper solution is the one pointed out by ejp :
    1) Accept new connection with ServerSocket, store the newly created Socket in a collection of some sort.
    2) Map the collection in a way that's suitable to your application. Then when you need to send something to client X you simply look up which Socket instance has been accepted/created for said client and use the in/out streams to transfer data.

  • How to find out the source of an event trigger

    Hello Experts,
    An event is starting a total of 5 jobs daily, I would like to find out how that event is triggered
    I checked in ST13 for all the jobs that were running / finished just before those 5 jobs started but no luck - None of the job is matching for all the days
    Checked in SM62 for event history, however it wont show the source of that event
    Checked tables "BTCEVT*" - They doesn't even show how that event is called
    Could you please assist?
    Thanks,
    Subbu

    Hi Subbu,
    You can try to trace the event using below transaction codes..
    SWEL - Display Event Trace
    SWELS - Switch Event Trace On/Off
    SWE4 - Status Change Event Trace
    RSWELOGD - Delete Event Trace
    SWEM - Configure Event Trace
    Regards,
    Prithviraj

  • How to find out data source for a datawindow?

    I have a datawindow and I want to identify it's datasource.
    I open this datawindow in pb. then in design menu, Data Source is disabled. It means not direct sql
    Then I go to Column Specific(small window), and right click on any space, in the popup menu, there is no 'Stored Procedure...'. It means not procedure.
    (see screeshot attached)
    then how to find out the data source for this datawindow?

    Hi Kent;
    1) I would use the RHMB on the DWO in the System Tree and select the "Edit Source" option.
    2) In the DWO source, locate the "TABLE ( ...." line
    3) If the next major line starts with "DATA(...." then this is an external DWO.
    4) If the next major line starts with "Retrieve(...." then this is a normal DWO (SQL or SP based).
    5) If the next major line starts with "webservice=(WSDL...." then this is a Web Service based DWO.
    Note: if your DWO has no #3, 4 or 5, then its external.
    HTH
    Regards ... Chris

  • How to find out image size (in pixels) of jpg and gif files

    this seems to work, though i doubt that it would very time:
                   Image img = Toolkit.getDefaultToolkit().getImage("car.jpg");
                   int w = img.getWidth(null);
                   int h = img.getHeight(null);
                   while(w <= 0 || h <= 0)
                      try{Thread.sleep(10);}catch(InterruptedException ix){}
                      w = img.getWidth(null);
                      h = img.getHeight(null);
                   JOptionPane.showMessageDialog
                      null,
                      filenames[i] + ": " + w + "x" + h,
                      "ImgSize",
                      JOptionPane.INFORMATION_MESSAGE
                   );please suggest a better solution.
    thanks

    >
    We've a requirement that we need to find out the size of a java object at run time, is there a direct java API to get the size of a composite object in memory?
    Here is my requirement: We are adding string objects (which is an xml string of considerable size) into a List. After reaching certain size limit (lets say 5MB) of the list i need to put this data into DB as a CLOB. So every time I add a string object to the list, I need to see if the total size of the list exceeds the limit and if yes, flush the results into DB.
    I am not sure if java has a direct API for this, if not what is the beast way to do it, it s critical requirement for us.
    It would be really great if someone could help us out.
    >
    Could you explain your actual requirement a little more fully.
    1. Is each individual string a separate XML string? Or is it just a fragment? Why would you just concatenate them together into a CLOB? That won't produce valid XML and it won't let you easily separate the pieces again later. So provide a simple example showing some strings and how you need to manipulate them.
    2. Are you using these xml strings in Java at all? Or are you just loading them into the database?
    For example if you are just loading them into the database you don't need to create a list. Just create a CLOB in Java and append each string to the CLOB. Before you append each one you can check to see if the new string will put you over your length limit. If it will then you write the CLOB to the database, empty the CLOB and start appending again to the new clob instance.
    If you explain what you are really trying to do we might be able to suggest some better ways to do it.

  • Failed to find out the source table of query in the formated search

    Dear All,
    I am trying to find out how to know the table that it is the source of a formatted search query. In the query manager --> formatted search --> select one of query --> double click to see the query. I see the query but I can't find out what table it will be used if the query like this :
    SELECT $[$13.87.NUMBER] - ($[$13.9.NUMBER] + $[$13.88.NUMBER])
    If I go to receipt from production form, the column no relate to the above query are mixture of IGE1 and OWOR, so what actually the table must I choose if I redesign the above query from query generator. I need your help to solve this question. I appreciate your answer. TIA
    Rgds,
    Steve

    Hi Steve,
    Assuming the FS is currently assigned to a form field you could try the following:
    - Look in OUQR for the query and get it's id (OUQR.IntrnalKey).
    - Look for this id value in CSHS.QueryID and check the FormID value of any records listed. It's not the table name you're looking for but the FormID might help e.g. 139 = Sales Order = ORDR/RDR1 etc.
    Hope this helps.
    Regards,
    Andrew.

  • Finding out the source user and tablespace in a database export

    Hi folks,
    Lets say a customer gave us a export of their DB using expdp or exp, whats the best way to find out what users and tablespaces are in that export? With exp Ive used imp and created a index file but it seems a datapump export doesnt give up this information so easily. Short of going back to a customer and asking, whats the best technique?
    -Mark

    No this doesnt really give enough info. It give a hint toward the tablespace but not the user:
    $ grep "ORCH" test.sql
    sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CONTEXT('USERENV','CURRENT_SCHEMA'), export_db_name=>'ORCHTST.VODACOM.CORP', inst_scn=>'53131043');
    In the above example I know the user and tablespace will contain the charaters "ORCH" in part and this only shows the one entry.

  • Find Out Image Mode, Profile and RES

    HI
    I have 5 Files in one folder
    3 images are CMYK, 2 images are RGB
    when i run the script i want to output for (.Html OR  Alert in photoshop)
    Filename |      Profile         | Resolution
    abb.tif      | North America | 72 dpi

    Do you need this in Photoshop? I would do this in Bridge with this sort of thing…
    #target bridge
    var doc = app.documents[0];
    for ( var i = 0; i < doc.visibleThumbnailsLength; i++ ) {
         $.write( doc.visibleThumbnails[i].name + '\t' );
         $.write( doc.visibleThumbnails[i].core.quickMetadata.bitDepth + '\t' );
         $.write( doc.visibleThumbnails[i].core.quickMetadata.colorProfile + '\t' );
         switch ( String(doc.visibleThumbnails[i].core.quickMetadata.colorMode) ) {
              case '1' : $.write( 'Gray Scale' + '\t' ); break;
              case '2' : $.write( 'Indexed' + '\t' ); break;
              case '3' : $.write( 'RGB' + '\t' ); break;
              case '4' : $.write( 'CMYK' + '\t' ); break;
              case '5' : $.write( 'HSL' + '\t' ); break;
              case '6' : $.write( 'HSB' + '\t' ); break;
              case '7' : $.write( 'Multi-Channel' + '\t' ); break;
              case '8' : $.write( 'Duotone' + '\t' ); break;
              case '9' : $.write( 'LAB' + '\t' ); break;
         $.write( doc.visibleThumbnails[i].core.quickMetadata.xResolution + ' x ' );
         $.write( doc.visibleThumbnails[i].core.quickMetadata.yResolution + '\r' );

  • Can one find out the source of a suspicious "Data Event"

    Most of my data downloads are <100KB, but recently I've gotten several that are on the order of 500KB.  These are eating into my monthly allocation.  I would like to know from where they come and what they are transmitting so I can decide whether to block them or what else I can do.
    Suggestions appreciated.  Thank youl
    bkcoca1

    You need to get a router that will track the usage coming and going out of your Verizon Network, one that will tell you what computers are doing what etc.  Get the Peplink Balance 20 Router works with Verizon Wireless Modems and Hotspots you will need the PepWave Surf Mini to allow access via hotspot cards. You can get the gear at 3gstore.

  • How can I find out the dpi of an image in Acrobat.

    How can I find out the dpi of an image in Acrobat. I have tried the pre-flight option but I really don't understand the pixels width x depth information that I get. I basically just want to know at dpi of a single image. Is there other program that will read my pdf file and tell me this information.

    Thank you, tylerdurdain! That was ridiculously difficult to find. Not sure what version of Acrobat you're using in your image, but for those using Acrobat Pro 11 (in Mavericks), it's buried under View > Tools > Print Production.
    That opens a panel on the right.
    To keep from having to chase it down this way each time, right click on "Output Preview" and choose "Add to Quick Tools Toolbar". That adds a button to the top right of the toolbar.
    Now you can call up the inspector with one click. Choose Object Inspector as tylerdurdain shows above, then click on the item displayed to get its properties.

  • How do i find out the dpi of a an image on my i mac

    Can anyone please tell me how I find out the dpi of an image on my intel iMac?
    I dont have Photshop. I just need to lnow what the dpi is and if its not the right size then maybe make it bigger (if thats possible)
    Thanks,
    P

    If you are looking for a free alternative to Photoshop look at
    Gimp
    http://gimp.lisanet.de/Website/Download.html
    You can't just resize an image using Preview.
    Resizing an image will change its dimensions, but not the DPI/resolution.
    Images on the Internet are usually at computer screen resolution of 72 DPI. Some images in the web might be at 150 DPI depending on the type of website it is.
    Just resizing an image will make the image worst as you are only making the available pixels in the image larger and more spread out causing an even blurrier image.
    You need an image editor that will increase the number of pixels in an image as you increase the size.
    This is called interpolation. You are adding artificial pixels to an image to boost its DPI resolution.
    These pixels are created from the surrounding existing pixels in an image.
    Done correctly, you can get a pretty sharp image from a low DPI image.
    Done incorrectly, you can make the image very ugly, blurry and look very out of focus.
    You minimize this effect by  increasing the DPI of an image in small increments. I use 50 DPI increments.
    Some users use even smaller DPI increments like 25 DPI or smaller.
    I have a certain amount of impatience, so I use a larger upscale amount. I still get pretty good results that are more than just acceptable. Some user are just more particular about how much detail and sharpness they want their final image to be. I feel increasing the resolution of an image to 300-350 DPI using 50 DPI increments is a good compromise. My own user preference.

  • How can you find out an individual image size from multiple images on a canvas

    This is probably a really really simple question but I can't for the life of me find how I can find out an individual image size from multiple images on a canvas. eg I have 3 photos i want to arrange 1 large and the other two next to it half the size. How can I edit individual image size on the canvas as when I select the image on a sperate layer I want to resize it just resizes the entire canvas and not the individual image
    Thanks

    I want to know they exact dimensions though. You can get them by dragging to the 0,0 corner and then reading off of the ruler scale on the sides but its fiddily as you have to zoom right in and work it out. I know in photoshop there is a ruler but is there any other way in Elements?

Maybe you are looking for

  • Scrip Error when Action invoked from Bridge Image Processor

    I am running Photoshop CC and while I can create a new simple Action and execute it successfully, if the same Action is invoked from the Image processor in Bridge, the Action fails witha script error and messaeg "Sorry, I could not proecess the follo

  • Photoshop CS will not open after upgrade to OSX 10.4.3

    Photoshop CS will not open in my iBook after an upgrade from 10.3.9 to 10.4.4. Even when I reinstall, from a dmg file, it doesn't help. The error message says: "the app photoshop quit unexpectedly" My iBook, which boots in 10.3.9 still, has no proble

  • Changing a Member Name Value from Negative to Positive in EAS

    I am working on a dimension where there are expense values stored as negative values so, the net income calculations are not calcing accurately. How can I change the sign of the value without having to reload the values? Is there a setting in member

  • Help!!  Sound pauses at random times on my DVD after I made it in FCE.

    All, Here is what I am doing: I am making a highlight tape with my kids. I have added music and exported the sequence with no markers and the "SelfContained moive" box UNCHECKED. I then add the three different clips into iDVD and create an "image". I

  • Lion: NOT opening to last opened document/webpage

    Hi Community, I just got Lion, and I am more than pleased with the new interface. However, the fact that everytime i open text edit/terminal/safari it opens whatever i had open before is more than a little annoying. I've searched far and wide through