Displaying File Icons

I'm a seriously frustrated java newbie. Could someone baby-step me through the following?
A: how I would display a file's icon (a picture of a folder or a document next to the name of a file in OSX or windows) in my program (larger than the usualy 16x16 icons... OSX does 128x128)
B: how I would figure that out from java's documentation
I'm still trying to get a grasp on how to use a given object by reading the documentation. I know max/msp and javascript and I learned both by just poking around the documentation for a few days and then looking something up when I need it.
JAVA has stopped that pattern dead in its tracks. I don't want to program in java if I need to take a course to learn every java class individually. honestly I'm kind of sad about it. I thought java was going to be fun, but it seems like a beurocratic mess. I'm hoping I just dont get it yet. Any suggestions?
I'm running 5.0 on osx in xcode 10.4.5 if it matters

thanks for the reply ChuckBing.
I will definately plug away at the tutorial.
I'm also in a java class, (the teacher doesn't like me pestering him ahead of schedule)
and have my textbook, an ORIELY book and a SAMS book lying around.
I've had some success with the geticon method, but I can't convert it. but only in labels. Being able to suck an icon into an object seems within on my plain of capability.
I'll keep working. again thanks
-matt

Similar Messages

  • How can I retain the attached .pdf files (displayed as icons) from my word file 2010 to a pdf file?

    Hi everybody,
    I have looked for an answer in this forum ... without any good result.
    I worked on a Word 2010 file with some attached pdf files. These attached files are displayed as icons on the word file. If you double click on them, you can consult them. This works very good.
    Problem: I would like to convert this word 2010 file into a pdf file, which keeps the icons (linked to attached files) active. If I "pdf" this with my current system, icons are displayed as pictures: I cannot open the attached files.
    My question is very simple: is it possible to retain these active icons (= to open attached documents) in a pdf file? Which adobe package should I use?
    Many thanks for your help 
    cheers
    elgreengo

    No, it's not possible, but I agree it would be a very nice feature.

  • Have CS 5 Installed on my iMac and works ok. But installed on my new MacBook Pro it won't open NEF files from my Nikon D810. Displays NEF icons, but when I try and open them the response is: Make sure latest RAW updates are installed. If problem persists

    Have CS 5 Installed on my iMac and works ok. But installed on my new MacBook Pro it won't open NEF files from my Nikon D810. Displays NEF icons, but when I try and open them the response is: Make sure latest RAW updates are installed. If problem persists follow link: http://www.adobe.com/go/kb407111. Have installed Bridge 5.0.2.4; Raw Ref Version 7.0.0.308; DNG converter_8_7_1.dmg; Bridge 5.0.2 Update 2. Also same problem with Lightroom which I don't normally use. Lightroom_3_LS11_mac_3_6.dmg installed.

    In the link you posted it states that the Nikon 810 requires ACR 8.6 or newer.
    Version of ACR are specific to versions of Photoshop. You cannot use 8.6 nor even 7.0.in CS5.
    I believe that ACR 6.7 is the latest that will work with CS5, so make sure you have this installed and get rid of ACR 7.
    Having 2 versions of ACR will cause problems.
    You have already downloaded DNG Converter 8.7.1.
    Have you double clicked the DMG file to allow you to install DNG Converter on your computer?
    Be aware that DNG converter is a stand-along application and not a plug-in.
    You need to open DNG converter at select the FOLDER that contain your .NEF files.
    Don't open the folder and try to select individual files, it doesn't work that way.
    After converting your D810 files to DNGs you can then open the DNGs in CS5
    The problem is your camera didn't exist when CS5 & its version of ACR was developed.
    i don't use Lightroom, but the list mentions Lightroom 5.6 as needed to open D819 so your 3.6 version of LR won't cut it.

  • Dng and CR2 files display as icons in CS5

    Now I have installed CS5 on three machines - a new installation on WIN7, and here everything is alright - no problem!
    Two machines running XP wth a previous CS4 installation uninstalled show up in Bridge with this problem:
    dng and CR2 files display as icons!!
    Everything is updated, ACR plugin placed as should be, and Camera RAW is working fine when OPENING the file. It is only a display problem, but this is serious enough - you cannot go through your downloaded pictures.
    I have tried to follow a solution close to the one given for CS4:
    http://kb2.adobe.com/cps/407/kb407945.html
    but I am out of luck.
    Is it an XP problem, or has it something to do with the previous installation of CS4?
    Any suggestions will be great! I have searced, read, tried, searched, tried.... some share this problem, but I haven't seen any soloution.
    Thanks, Jan

    Disclaimer:  The following applies to WINDOWS EXPLORER.  I don't use Bridge so I don't know if it's applicable at all to Bridge.
    Adobe does not provide a codec for viewing Canon raw files as thumbnails.  Canon has one for free but it only works on a 32 bit Windows system.
    Early this year I found a free download for displaying raw file thumbnails that works on an x64 Windows system.  Since that time the author realized there's a real demand for this software and has started charging for it.  In any case, I find it works very well.
    http://www.fastpictureviewer.com/codecs/
    -Noel

  • File icons not displaying in dock folders

    I'm having trouble seeing File icons in the folders added to the dock in Lion. For example I am used to seeing a file icon that isa preview of the file e.g. for a pdf the icon would show the content of that pdf. For many files (but not all) I just see a black box with a white dashed line around it (see image).Eventually these icons may refresh and display properly and if I open the folder in finder the icon is correct but not in stacks. It's not a file type specific issue because in the attached image some jpegs are displaying other are not. Any advice?

    Solved.
    Reset the p-ram.

  • IPAD3/IPAD2 :PDF files/ attachments  sent in an email  displayed inline ( embedded within the main email) in the message text on both my Ipad2 and Ipad three, however the same email displayed the PDF File icons/ attachment on both my Iphone and a friend's

    IPAD3/IPAD2 :PDF files/ attachments  sent in an email  displayed inline ( embedded within the main email) in the message text on both my Ipad2 and Ipad three, however the same email displayed the PDF File icons/ attachment on both my Iphone and a friend’s PC. How do i get both my IPAD devices to display the PDF icons/attachments? Bearing in mind if i open the same email over the internet the PDF Icons/attachments display OK!
    Has anyone come across this? Your advice/help would be most appreciated

    This happens to me all the time.
    If is a one page PDF it seems as though it comes over already open and inline in the body of the email. Multiple page PDF files show as the PDF icon.
    I can't find any official documentation of this - other than based on my own experience with PDF attachments in my various email accounts.
    Message was edited by: Demo

  • JFileChooser Displays Garbage Icons for Files in 1.4.2-02

    Since switching from 1.3.1 to 1.4.2-02 I no longer get meaningful icons displayed beside file names by JFileChooser. What it is displaying do not look like anything meaningful. I suspect it is just grabbing some random chunk of memory and interpreting it as an icon. In 1.3.1 I got a folder icon for directories and a dog-eared piece of paper for files. I have not changed any of the code here, except to fix a bug where I was passing an invalid object (not a Component) to showOpenDialog, and the problem occurs both before and after that change. I appreciate that I can create a FileView to display whatever icons I want, but I do not understand why the default is garbage.
         JFileChooser chooser;
         String     directory     = parent.getProperty("directory", "");
         if (directory != "")
         chooser = new JFileChooser(directory);
         else
         chooser = new JFileChooser();
         // select only Text and Excel files, but permit multiples to be chosen
         chooser.addChoosableFileFilter(new TxtFileFilter());
         chooser.setFileFilter(new XlsFileFilter());
         chooser.setMultiSelectionEnabled(true);
         // display the dialog and wait for a response
         int option = chooser.showOpenDialog(desk);

    I have since determined that the problem is in FileSystemView.getSystemIcon, which returns a garbage icon on my system.

  • How to display default file icon in Swing listing?

    Hi All,
    I am developing an application where I need to display all the files under a specific folder. But I need to list the files along with their default icon. Also, I need to open that file on clicking (or double clicking) on that file icon.
    I am not able to understand how to do that. I am able to list the files in the GUI, but the rest -- I have no clue how to do it.
    Any help/pointer on how to do that would be great for me.
    Thanks in advance...

    FileSystemView fsv = FileSystemView.getFileSystemView();
    Icon icon = fsv.getSystemIcon(myFile);As for opening a file on the double-click, assuming you're using a JList, just add a MouseListener/MouseAdapter to your list, and respond to the click events:
    public void mouseClicked(MouseEvent e) {
      if(e.getClickCount() == 2) {
        int index = list.locationToIndex(e.getPoint());
        list.ensureIndexIsVisible(index);
        ListModel dlm = list.getModel();
        Object item = dlm.getElementAt(index);
        // Open the file represented by "item".
    }If you need to open the file using the system's default application for that file, use Desktop.open(File).

  • File Icons display issue

    I am using File.icon property to get the icon bitmap image of
    a file.
    File Icons are not displayed when the operating system
    display property setting is in 16-bit color mode or 24-bit color
    mode. When the display property setting is changed to 32-bit color
    mode file icons is displayed.
    System Configuration:
    Windows XP (SP2)
    1 GB RAM
    INTEL P4, 2.8 GHz Processor Speed.
    AIR Runtime 1.1
    Flash Player 9.0.115.
    Can any one explain that is there any issue with Flash Player
    or AIR runtime?

    It sounds like it may be a bug, which you can report via
    www.adobe.com/go/wish. Providing a sample would be helpful.

  • PSD File Icons don't display in Windows 8.1?

    PSD File Icons don't display in Windows 8.1. How to fix?

    You would have to buy a third party codec for thumbnail displays that Windows doesn't support.
    Ardfry Imaging, LLC
    So why should you have to pay?
    I have many years ago tried to get Microsoft to implement thumbnail support to no avail.
    So in the end, Ardfrey's codec takes care of it for $20, free upgrades and I can get on with any work that requires thumbnails at the OS level.

  • How to display the icons of apk files in windows explorer

    How to display the icons of apk files(android apps) in windows explorer by default in windows 7 and windows 8.1 ?

    Believe it or not; The answer is found by searching the internet.  One solution is to install an application called BlueStacks player which appears to install an Android VM for playing Android apps.  I'm sure there are other solutions, but the
    BlueStacks player looks exactly like mu Moto G screen.  The apps icons are displayed in Windows Explorer with BlueStacks installed.
    http://www.bluestacks.com/app-player.html
    I searched the internet for open apk file on pc
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • How to display the iconic buttons on the toolbar in oracle 10g forms

    hi experts.
    i have done all the settings to display the iconic tool bar in the web. the settings i have done are like this.
    Initially i have created a .jar file with name my_icons.jar and pasted in /forms/java folder.
    1) modified the I:\DevSuiteHome_1\j2ee\DevSuite\application-deployments\forms\formsweb\orion-web.xml file by adding
    <virtual-directory virtual-path="/icons" real-path="I:\aptd\icons" />.
    2) Modified the forms.conf file by adding the line
    AliasMatch ^/forms/icons/(..*) "I:\aptd\icons/$1"
    3) Modified the formsweb.config file by
    archive_jini=archive_jini=frmall_jinit.jar, my_icons.jar
    4) Registry.dat
    default.icons.iconpath=icons/
    default.icons.iconextension=gif
    i did not get the output.
    when i run the form through the browser, i could see throught the bottom of the browser that it is taking
    http://host:port/forms/java/icons/*.gif
    * for diffenent icons name.
    but when i run the http://host:port/forms/java/my_icons.jar i could download it.
    please suggest the best solution. Its Urgent.

    thanks a lot sarah. I got it.
    but sarah i woild like to know that my real path of the icons is in other drive. but pasting the icons in the oracle/forms/icons will work.
    why can't the icons take from the the other drive. And also i have created a jar file. Then why can't it take from the jar file without pasting them in the above mentioned folder.
    thanks once agaiin for all.

  • Adobe Photoshop CS6 Extended file icon.

    Whenever I save a .PSD file, the file icon is a white background with the Photoshop program icon on it, instead of the default blue photoshop file or .PSD file icon. Please tell me how I can fix this. Is this a bug or do I have to change something in the settings? I really want the original Photoshop CS6 File icon. Please help.

    You can change the file icon by editing your file associations under Extras --> Folder Options --> File associations. Select the Photoshop image file type, change the icon. Just be aware that depending on your folder view options, Windows may still display an alternate icon at times e.g. in file dialogs...
    Mylenium

  • Acrobat Documents Display as Icons in Office Documents

    Symptom:
    Microsoft Office Power Point/Word/Excel,
    Insert/Object/Create from file/
    Select any PDF file, select OK
    Ensure Display as Icon is NOT Checked
    All you get is a icon/link to the file.
    It should open the file into PP page
    Works fine "Pre-Adobe 9"
    Yes I know I can screenshot or snapshot that isn't the point...

    Hi Siva,
    Take a look at the last part of the following document.
    http://scn.sap.com/docs/DOC-25692
    Regards,
    Lisandro

  • File Icons Not Appearing in Finder

    Over the years I have archived projects on CDs and DVDs. I have always worked on Macs. No PC involvement. I have been doing this since 1987. Over the past couple weeks I have noticed that the icons of files (not folders) on my older disks are not appearing. I am using the latest Mac OS 10.8.3 on a MacBook Pro. However, on a friend's older Mac Pro tower (Intel), running an older OS (10.6.8), the file icons do appear. Also, it seems that all folder icons do appear on both systems. I have searched the Internet for an answer. I have a lot of old files that I currently cannot seem to access because of this issue. Can anyone shed any light on this? I think it may be an OS issue.

    Hi,
    I was under the impression that the Disk Level info was the bit that had the problem.
    I am not sure why I ended up with that thought as you clearly state it is contents type info such as tiffs and the like you cannot "see" for long.
    The Site did help with that.
    I dug out a old Mag CD with a game on in.
    I do not suffer losing sight of any of the files no matter which view I adopt.
    It lists the Mac OS Standard as the format and the Roman encoding your Video and pics show.
    (Strangely it says it was Modified  and the date is before the listed Modified dates of the files and folder it contains).
    I don't have any self created disks from that time to test.
    I am at a loss myself now.
    Sometimes, as in my Pic, the Applications that were written for OS 9 (Classic era) and earlier have the no entry sign over them.
    Other times the items will show a generic file icon as it has "lost" which app it belongs to.  (Which the PRAM reset deals with)
    Your files clearly show the icons of the apps that would normally open them.
    Files or folders that are normally hidden don't get counted in Quick Look or other forms of veiwing the contents, such as the lower bar in my pic.
    It would appear the OS is reading the Disk properly but  then deciding that it is not going to display all of it.
    I tried viewing the files on my drive if different views - iCon and Cover Flow for certain - but did not notice any difference in what was presented.
    If you have the Disk Open and in the Finder > View Menu > Show View Options and then choose Show Icon Preview do you get to see the tiff files at all ?
    I would also try the Size change in the Cover Flow view just to see if it is something about the icon data that is "missing" or being mis-read.
    I am clutching at straws at this point.
    9:58 PM      Monday; May 20, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Maybe you are looking for