Changing the file type as.....in FileDialog Box

hi
i wanted some help in file Dialog box......
as soon as i click the browse button in my java program....a window opens which is the file dialog....
the option specified below is file type as ....
i'm getting only 1 option i.e file type as - all files...
i wanna change that all file type to only *.doc files......how do i do it....
i want only the *.doc optoin to appear in the combobox....
is it possible

oops... sorry 'bout that, I shouldn't take links from files on my hdd ^_^
I meant THIS method : JFileChooser.addChoosableFileFilter(FileFilter)

Similar Messages

  • I tried to change the file type of the movie, but now I am unable to open/edit it in iMovie, HELP !

    I tried to change the file type of the movie, but now I am unable to open/edit it in iMovie, HELP !

    Thank you very much! This is exactly what I was looking for.
    I appreciate your time and effort in solving my question : )

  • Page Snapshot on Mac using Shift+Command+4, can I change the file type?

    Is there a way to have this feature save the screen shot as a .jpg or something other than .png?
    Thanks for The help!

    Actually you can change the file type, using a defaults write command in Terminal. Whatever you select changes the file type for all screenshots until/unless you globally change it again. All OnyX does is run this command in the program's interface--if you don't know how to use Terminal you may prefer this. If you want to use Terminal, you would launch it, then copy this command:
    defaults write com.apple.screencapture type jpg
    Paste it into the Terminal window and then press the Return key. I believe you need to restart for the change to take effect.
    Francine
    Francine
    Schwieder

  • How to change the file type from IMOVIE PROJECT to other types of file

    how to change the file type from IMOVIE PROJECT to other types of file??
    thank you very much for your help=]

    I am not sure what you mean, but once you make a project. Then go to the share menu and you can export the project to iDVD, itunes, mobileme, quicktime.
    Share export quicktime movie will allow you to export to a variety of codecs. What specific export are you looking to share the movie in? What is the final source that the movie will be displayed?

  • I uploaded and edited my RAW image, clicked 'Save As', and changed the file type from .psed to .jpg.

    I edited my raw image in Photoshop CS6, selected 'Save As', and changed the file type from .psed to .jpg. I also selected 12 and large file when the window popped up, concluding my 'saving as'. My computer does not recognize the file type and won't open them. Can someone help me? Thanks!

    When naming files, stick to the letters of the ENGLISH alphabet, numbers and underscores.  Do not use illegal characters like apostrophes, commas, asterisks, ampersands, hatch or pound signs, diacritics or accented characters, slashes, etc.
    While the period (dot) is not an illegal character per se, your file names should have only one period and that should always be followed by the file type extension.
    EDITED typo: se
    Message was edited by: station_two

  • When replacing an .indd on creative cloud, it changes the file-type

    I have uploaded a few InDesign (.indd) files from cs5.5 to my creative cloud account so I can share them with my team for approval / feedback. If I try and replace the file with a newer version (still .indd from cs5.5) it changes the file type to octet-stream and it can't be viewed.
    Restoring back to the ORIGINAL version brings back the original, as an indesign file, and it is viewable again.
    Am I doing something wrong when replacing a file? This seems like the logical way of doing it (they even refer to them as revisions, as that seems to be the point)

    My workplace uses CS5.5. I'm in the process of convincing them to move to CC by personally signing up to the month/month plan (however this isn't helping).
    I am uploading using Chrome Version 29.0.1547.66 m.

  • Newbie stuck - how do I change the file type of a photo I am formatting from a TIFF to a JPG?

    I am new to Aperture and struggling to figure out some of the basics, even with the tutorials.  I need to submit a photo for an art competition - the master is a TIFF and I need a JPG under 1.8 MB - how do I change the new version's file type and keep it with the master?
    Thank you in advance.

    I can't recommend the method proposed by Carolyn Samit; in fact, I recommend ignoring it.
    Aperture is large, complex, and can take some time to learn to use.  It is also quite powerful, and can handle nearly all -- or all -- common tasks you throw at it.
    I have written a very short guide to Aperture which was intended to provide some firm footing for those getting started.  I humbly suggest that you start with a quick review.
    One of the things that presents a bit of disorientation for new users is that, in practice, Aperture keeps your pictures in a kind of limbo.  There are good reasons for this -- suffice it for now to accept that you import image-format digital files into Aperture, you use Aperture to organize and optimize these as Images, and then when need a file to use outside of Aperture, you export you Image.  It is at export that you format your Image: you select the file type, the compression amount, the file name, the file size, and more.
    In your case, then, you will export your Version, and set the file type to TIFF (recommended above JGP whenever quality is paramount). There is no way to know the file size in bytes prior to creating it.  Start with a full-size TIFF and, if necessary, knock it down by percentage until the exported file is less than 1.8 MB.
    There is no reason to attempt to keep this file with the Image in Aperture.  Send it on its way.  Any time you need another file from your Image, you can create it fresh via "File→Export→Version".
    HTH.  If it doesn't, ask more. 
    Message was edited by: Kirby Krieger -- expanded a bit.

  • Can i change the file type on itunes? they arent compatible with my mp3

    is there a way to change the file to a wma or mp3? please help before i brain myself with the keyboard ^^

    wma is Windows Media Player format so no to that. mp3 can be done of course. In the importing section of preferences you can set what kind of file is created when ripping CDs.

  • Weird..  New IMac when downloading XLS files changes the file type to XLT

    On my wife's IMac, when she downloads an excel file (attachment in an email) in the download folder the file name has been changed to XXX.xls.xlt. My desktop Mac does not do this.
    What's happening and what is the fix?
    Thanks for any direction.
    Joe

    You can try "Reset Download Actions": http://kb.mozillazine.org/File_types_and_download_actions
    You can also try to check the application/octet-stream key in the registry and the .zip key.
    HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/octet-stream
    HKEY_CLASSES_ROOT\.zip

  • Changing The File Type On Multiple Documents Simultaneously

    I have over 100 documents that I want to end in ".aif". Is there a way to do this in one pass? I would, if possible, prefer not to have to go through each and every doc individually and change them manually. I've done the very thing on enough ocassions and it's very time consuming to say the least.
    I opened Automator, but it didn't seem to have anything for this function. I selected all the files and did a mass "information" (apple "i"), but was not allowed to change the name and extension area.
    Any help would be greatly appreciated.
    Thank you very much one and all in advance for all the help and support,
    Javier Calderon

    Thank you both. Niel, I shall look at some of the options available on the link you provided and see what occurs.
    Gnarl, regarding the Applescript, I just took a look at it, and, although it at first glance looks pretty intimidating, I think that this might be the very thing that will get the job done . . . no? I'll try to follow the instructions, cross my fingers, and hope for the best.
    Thank you both again.
    Javier

  • HT1391 How do you change the file type on music downloaded?  It errors out when I try to sync to Sony Walkman.

    Can you redownload purchases with a different file extension?
    I can not download to a Sony Walkman - errors out

    Ia6Fan wrote:
    Can you redownload purchases with a different file extension?
    I can not download to a Sony Walkman - errors out
    All music downloads from the iTunes Store come in AAC format.  There is no choice.
    You can do either of the following:
    Buy the AAC and convert it per these instructions: 
    iTunes 11 for Windows: Save a copy of a song in a new file format
    OR
    Purchase your songs from a retailer who sells MP3s, such as Amazon MP3.

  • Programmatically changing the Control Type of ViewCriteriaItem

    Our requirement is dynamically changing the Control Type (Date, LOV, Combo box, etc) of ViewCriteriaItem.
    We are trying in the following way,
    ViewCriteriaManager vm = view.getViewCriteriaManager();
    oracle.jbo.ViewCriteria vca[] = vm.getAllViewCriterias();
    oracle.jbo.ViewCriteria vc = vca[0];
    vc.removeAllElements();
    ViewCriteriaRow vcr = vc.createViewCriteriaRow();
    vcr.setAttribute((String)viewItemRow.getAttribute("WvciColumnName"),"");
    ViewCriteriaItem vc_item1 = vcr.ensureCriteriaItem((String)viewItemRow.getAttribute("WvciColumnName"));
    // Based on some condition
    vc_item1.setProperty(ViewCriteriaItem.CONTROL_TYPE, ViewCriteriaItem.ControlType.DATE);
    But the control type is not changed in UI?
    Kindly help us
    Regards,
    Vijay

    Hi Sonny:
    Finally I've solved the problem in Java mapping program, changing the content-type parameter like this:
         public void setParameter(Map mParametro)
              this.mParametro=mParametro;
              if (mParametro==null)
                   this.mParametro=new HashMap();
              mParametro.put(StreamTransformationConstants.CONTENT_TYPE, "text/xml");
    I hope it helps you. Regards,
    Alejandro.

  • Finder changes the file name in Save/Save As dialogue box

    Whenever I save or save as a file, the dialogue box opens, but when I make the file list active when using a mouse, the file name I click to changes the file name I am saving. I simply want to activate the file list window so I can find the right folder. For example if I am looking for a folder called "Receipts" I want to be able to click on the file list window to activate it and then type the first 2 letters of the folder-- "re" and then save the file in that folder. The finder keeps changing the name of the current file whenever I click on one of the "greyed-out" file names? This doesn't make sense unless of course I want to replace that file.
    Is there a shortcut that makes the file list window in the dialogue box active while in the SAVE/SAVE AS dialogue box??

    Yes, this example of horrible UI design has been a problem since "Panther". It illustrates what happens when you try to copy UI behaviour from another OS, do it poorly, and end up with a mess. In 10.3 and 10.4, the combination of the renaming behaviour with the default "replace" selection in the resulting save can result in data loss.
    Compared to the old Mac OS where a tab would flip the focus between the text field for the file name and the file browser, the current behaviour either doesn't allow enough keyboard access to controls, or with "full access" enabled, too many to cycle through easily. The inability to switch focus to the file browser using the mouse (depending on the view) is a horrible productivity loss. Having to recheck the filename before saving is a horrible productivity loss. Since there is no "undo" for the renaming in most files, having to retype the name is again, a horrible productivity loss.
    If they had done it right (a simple change, like requiring a modifier to rename), users would probably welcome the "rename" feature as a useful addition. Instead, it has the feel of something a junior Windows-trained programmer slipped in past their supervisor.
    In short, I am not aware of any workaround or hack to avoid this "renaming" behaviour. I doubt it will do any good since people have been doing so since "Panther", but you could try submitting feedback:
    http://www.apple.com/feedback/macosx.html

  • Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • While using a drop-down menu i.e. File, edit, image, or even when saving as and choosing the file type; the list appears and I am able to highlight what i want but cannot click on anything.

    While using a drop-down menu i.e. File, edit, image, or even when saving as and choosing the file type; the list appears and I am able to highlight what i want but cannot click on anything. This is becoming incredibly frustrating. It happens at random time and a restart of the computer is all that helps, then with out any notice it starts to do this again.  Mac Book Pro i7 2.2 16 GB 1333 Ram, (2) 450GB SSD both internal to machine. At this point I am losing file because I am unable to save in the file type I need. Does anyone out there know how to solve this issue?
    Thanks
    phil

    I haven't been unify photoshop much in the past month, but I did try your suggestion and it seemed to work for a while. Today when i went to save a document the same thing happened: click on file>save at this point I can not click on save even though it is highlighted. Tryed to use command s that brings up the save dialogue box, but when I try to change file type I again cannot select it from the drop down menu.

Maybe you are looking for