Setting File Icons for OS

Hi
How could we make the OS to assign icons which we want for the files.
For example i want all the *.xyz files to have a specific Icon
tia
Jods

This is a very non-Java related question...
That being said; if you're running any Windows OS's, open the explorer (not Internet Exploder) and open the menu Tools -> Folder Options.
Select the tab File Types. You'll se a list of files and their associated programs. Either modify the one you'd like to change the icons for, or create your own.
Regards,
  /Håkan

Similar Messages

  • How to set the icon for the entire application with JFrame.setIconImage

    I set the icon on the main frame using JFrame.setIconImage(). The icon is shown properly in the main frame.
    If more JFrames are opened from the main frame, the newly opened JFrames also show the icon.
    However if JDialogs are opended, in some cases the icon set on the main frame is shown and in other cases the coffee cup.
    What is JFrame.setIconImage() expected to do? Setting the icon for a single JFrame or the entire application?
    How can I set the icon for the entire application?
    How can I set the icon for JDialogs?
    Thank you

    In order for your dialogs to use the same icon as the frame, you must parent the dialogs to the frame which has the custom icon.
    See the following thread for more information: http://forum.java.sun.com/thread.jsp?forum=57&thread=362542
    cheers,
    Greg

  • How to set different Icons for Jtreenode

    How to set different Icons for Jtreenode,i want to set icons for jtreenode,not only for leaf,open,closeicon,i hope that each node has a different icon.Thanks!

    you need to check for the node value within a renderer, then assign an icon based on what you expect to get back.
    check out this page. http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html

  • How to set different icons for different windows which is seen in the top left corner?

    Hi
    How to set different icons for different windows which is seen in the top left corner? I know when building exe there is a option to edit icons or add icons and that icon is default for all the windows in the project. But i want different icons for different windows which is possible in VB.
    Is there any way to set icon by calling any dlls.
    Thanks & Regards
    Samuel J
    [email protected]

    Hi Sam,
    no problem. See the attachment.
    Mike
    Attachments:
    TestIcon_LV85.zip ‏44 KB

  • How to revert to the default file icon for Illustrator CS4

    Hey everyone,
    It has been a few months now and I've searched most forums on how to fix this issue, but sadly, It seems the problem isn't that common. I'm using a Windows 7 machine and have installed the Adobe Master CS4 suite.
    The problem is that I can't seem to revert the illustrator file icon (how .ai files appear in the explorer) back to its original image. The image below shows you what the .ai files look like in my computer. I was hoping if there's someone who could help rectify this issue.
    Much thanks!
    Var
    p.s. I've tried the default file association tool, and have also tried switching back and forth between .ai's default program, but I still get this ugly file icon.

    This is what an Illie file icon normally looks like.
    I'm using CS3 on a Mac.
    If I understand you right you want to be able to see a thumbnail og the file's content.
    As long as you have saved your file with pdf compatability you will be able to see such a thumbnail in the Finder when you have your Finder window set as Columns and click on the file's icon. You will also see a thumbnail if you use Bridge.
    However saving Illie files with pdf compatability increases their weight enormously, so I usually don't unless there's a special reason for doing so.

  • Finder - Set file icon as plain text

    I would like to know if there is a way to set files of a certain extention (in this case, .tex files) to be displayed as text files in finder. And no, I'm not talking about Quick Look, because when I press the space bar, the file does come up as a textfile would, i.e. Quick Look displays it as a text file. I'm talking about the icon that finder uses to display the file. Right now, Finder uses the icon of the default program used to open the file (TeXMaker). I would like it to display the .tex file just like a .txt file, i.e. the icon is "a sheet of paper with text on it".
    I hope you can help me.

    At first, when I used an other program for editing .tex files (TexShop), the .tex files were displayed as text files. They changed, however, when I installed TeXmaker and set it as the default program.

  • Xfce: Set Applikation icon for taskbar and task switcher

    Hi Community,
    I'm facing a Problem with icons in xfce: some applications don't seem to have the correct ones in the task switcher (alt+tab) and the task bar. A default icon is shown instead. This happens for example with gedit and urxvt.
    Screenshot:
    http://i.imgur.com/DsgNBRi.png
    I use whisker menu as startmenu/appstarter and the icons are correct there. (They are also correct in Dockbarx)
    How can I set icons for the taskbar/-switcher? Do I need icons with specific sizes in /usr/share/icons?
    Thanks in advance!
    -- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
    Last edited by ilike (2013-10-26 11:23:47)

    Yeah, the problem seems to be quite common.
    Similar Topics:
    http://crunchbang.org/forums/viewtopic.php?id=14909
    https://bbs.archlinux.org/viewtopic.php?id=167517
    http://askubuntu.com/questions/292700/s … task-icons
    http://forum.manjaro.org/index.php?topic=6432.0
    Nethertheless, no solution suggested on these sites worked for me. ;(
    I also reinstalled gedit (sudo pacman -Rns gedit && sudo pacman -S gedit) which didn't work and I created a new user account (and changed the themes) to preclude that something is wrong with the settings in my home directory. It's funny that xfce4-terminal displays the icon correctly in the taskbar/-switcher because it uses the same "Icon=utilities-terminal" setting  as urxvt in its .desktop file in /usr/share/applications.
    Edit: After reading this post I installed rxvt-unicode-patched (aur) instead of rxvt-unicode from community. The urxvt icon can be set now in the .Xdefaults-File:
    URxvt*iconFile: /usr/share/icons/Moka/256x256/apps/utilities-terminal.png
    The Icon-Setting in /usr/share/applications/urxvt.desktop seems to be applied only for the startmenu.
    Last edited by ilike (2013-10-26 14:40:03)

  • Can't set a icon for a shortcut of a visual studio installer project

    hi.
    I created a visual studio project (VS 2013, windows 8) from a exist project in the selution, but i can't set the icon on the desktop and program menu.
    i tried all the selution i found in the web:
    changed the extention to .exe
    the size of the icon is 13 k"b, but i still dont see the icon.
    i also tried making a shurtcut from Primary Output, with no change.
    It should be noted, that in the properties of the shortcot, it shows that there is a icon, and aslo the shortcut works, and ythe icon is showed in the install program, bot the icon is not showed on the desktop and the program menu.

    hi.
    I created a visual studio project (VS 2013, windows 8) from a exist project in the selution, but i can't set the icon on the desktop and program menu.
    i tried all the selution i found in the web:
    changed the extention to .exe
    the size of the icon is 13 k"b, but i still dont see the icon.
    i also tried making a shurtcut from Primary Output, with no change.
    It should be noted, that in the properties of the shortcot, it shows that there is a icon, and aslo the shortcut works, and ythe icon is showed in the install program, bot the icon is not showed on the desktop and the program menu.
    Hello,
    It seems that you want to add an icon for your application to be used as a shortcut or an icon located in quick start explorer.
    You could add that icon with the following way.
    How to: Specify an Application Icon (Visual Basic, C#)
    In addition, we should pay attention to the icon format for different systems and different DPI modes.
    You could refer to the following thread.
    Which icon sizes should my Windows application's icon include?
    The following format works for both windows 8 and windows 7.
    Windows 7:
    Explorer views:
    Details / List / Small symbols: 16
    All other options: 256 (resized, if necessary)
    Right-click->Properties / choosing a new icon: 32
    Pinned to taskbar: 32
    Right-click-menu: 16
    Desktop:
    Small symbols: 32
    Medium symbols: 48
    Large symbols: 256 (resized, if necessary)
    Zooming using Ctrl+Mouse wheel: 16, 32, 48, 256
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • AIR File Icon (For Native Installer)

    Hi,
    I am generating AIR application as native installer (.exe). I want to have a custom icon for my .exe file.
    I have specified the icons in application descriptor file as
    <icon>
                        <image16x16>icon...</image16x16>
                        <image32x32>icon...</image32x32>
                        <image48x48>icon...</image48x48>
                        <image57x57>icon...</image57x57>
                        <image72x72>icon...</image72x72>
                        <image114x114>icon...</image114x114>
                        <image128x128>icon...</image128x128>
              </icon>
    But this icon does not appear to be .exe file icon, It appears as application installed file icon. I want to have different icons for application installed icon (Application Icon) and separate icon for application installer (.air or .exe file custom icon)
    Kindly suggest any solution

    In this case you need to update installer icon manually via third-party app like freeware "ResourceHacker" http://www.angusj.com/resourcehacker/

  • Setting file permissions for 'wheel' group files

    I have a bunch of files I copied from my PC when I made the transition to my Mac. I'm having problems moving or backing up many of the files apparently because the Mac has set the group for these files to 'wheel' and I'm not sure how to change them back. My efforts to chown or chgrp the files always result in "Operation not permitted" error messages.
    I have been able to select a file at a time in the finder and use the get-info option to change the permissions, but I need to do this for thousands of files and it takes too long manually.

    mpender wrote:
    I have been able to select a file at a time in the finder and use the get-info option to change the permissions, but I need to do this for thousands of files and it takes too long manually.
    Yes, you need a global fix. Download BatChmod Read the online documentation and online help. Let us know.
    -mj

  • How to set an icon for a JLabel with Advanced Synth

    Hello,
    Do you know how to define an icon for a JLabel components with Advanced Synth (with a XML file) ? I have tried this :
    <style id="jLabelNotes">
            <imageIcon id="iconNotes" path="images/note.png" />
            <property key="Label.icon" value="iconNotes" />              
    </style>
    <bind style="defaultLabel" type="name" key="jLabelNotes" />But nothing append.
    Thanks.

    Try Sound Menu

  • How to set file permissions for SFTP uploaded file?

    Hello,
    is it possible to set file permissions with the SDK for files uploaded via SFTP transfer? I use the default sample plugin ftp_upload.lrdevplugin to transfer the files, but would like to tweak it to set the uploaded file(s) to permission 644 (rw-,r--,r--) on Linux server. Currently the server sets new file(s) by default to 600 (rw-,---,---).
    I am looking for an option to do the "chmod" directly from Lightroom without doing any modificatios in general to default umask, etc. settings on the server. No real UI is needed for this. Just hardcoded setting for 644 in the .lua.
    So far I've been unsuccesful in finding the way. Googled, read this forum, looked at the API. Maybe I just missed it, or does this functionality exist?
    All advice is appreciated!
    Cheers,
    Timo

    Niel's suggestion is good. You might also try posting your question in the Tiger Server forums. I'm sure Tiger Server has several ways of dealing with this.

  • How to set different icon for different type of document

    Hi,
    In my repository, we have different kinds of document (crystal report, word document, excel, jpg ...) and we wanna show specific icon for each kind. In my used ResourceRender I cann't see where to change (rnd:icon?)
    Could someone tell me how to achieve that? Thanks
    Ray

    Hi Ray Li,
    in KM icons are mapped to mime types. You can add a mapping or change an existing one as follows:
    1. Go to Systemadministrarion - System Configuration - Knowledge Management - Content Management - Utilities - Icons
    2. Add your mime mapping or change an existing one. To determine the correct mime type of your documents, just have a look at the details dialog in KM.
    3. The path to the icons points (by default) to following directory on your KM server: usr\sap\SID\SYS\global\config\cm\etc\public\mimes\images
    Here you can replace images or add some new.
    Hope this helps,
    Carsten
    Seems like somebody thought the same thought bit faster than I did. Would like to delete my answer that does not contain any additional info. But dunno how to.
    Message was edited by: Carsten Buechert

  • Setting file name for a downloaded file

    I've set up a file download using code I've gleaned from jsf forums. However, the file name is not being set correctly. When the user downloads File.doc, it shows up as downloadPage.jsf. Am I setting the header correctly?
    public class VendorInfoBean extends AbstractViewController {
        public VendorInfoBean() {
        public String downloadVendorApp() {
            ExternalContext context = getExternalContext();
            String path = context.getInitParameter("externalFiles");
            String filename = "Vendor_Application_e_Form.doc";
            String fullFileName = path + filename;
            File file = new File(fullFileName);
            HttpServletResponse response = (HttpServletResponse) context.getResponse();
            response.setHeader("Content-Disposition", "attachment;filename=\"" + filename + "\"");
            response.setContentLength((int) file.length());
            response.setContentType("application/msword");
            try {
                FileInputStream in = new FileInputStream(file);
                OutputStream out = response.getOutputStream();
                // Copy the contents of the file to the output stream
                byte[] buf = new byte[1024];
                int count;
                while ((count = in.read(buf)) >= 0) {
                    out.write(buf, 0, count);
                in.close();
                //out.write(bytes);
                out.flush();
                out.close();
                FacesContext.getCurrentInstance().responseComplete();
            } catch (IOException ex) {
                ex.printStackTrace();
            return null;
    }

    StringBuffer sbFilename = new StringBuffer();
         sbFilename.append("adeem");
         sbFilename.append(".doc");
    StringBuffer sbContentDispValue = new StringBuffer();
         sbContentDispValue.append("attachment");
         sbContentDispValue.append("; filename=");
         sbContentDispValue.append(sbFilename);
    HttpServletResponse response = (HttpServletResponse) context.getResponse();
    response.setHeader("Content-Disposition", sbContentDispValue.toString());
    i think this will work .. if not let me know i will give some code that will work for u then ...

  • Setting file extension for flex download

    Hi, I have a flex/flash download app that I use on my website, but a lot of people have trouble with it because they rename the file and accidentally remove the .zip from the end of the file name.  Is there any way that i can prevent this?  I have noticed that when i click to download, the "Save as Type" drop down is blank.  It looks like this:
    File name: myFileName.zip
    Save as type:
    I'm hoping that im just missing a param that i can set to .zip so that it will look more like this:
    File name: myFileName
    Save as type: .zip
    Thanks!

    Hi,
    You can restrict them to save in any other format by making the check.
    Simply add listner for the Event.OPEN on the fileReference and inside this check for your allowed extension,if the extension is not what you want then
    simply right a line there like:-
    fileReference.cancel();
    And addtionally you can give any alert that your file should be of that particular extension.
    with Regards,
    Shardul

Maybe you are looking for