Displaying JFileChooser without icons on the left !!

Hi,
I am creating a JFileChooser as:
        String path="D:\\Zip";
        JFileChooser chooser=new JFileChooser();
        chooser.setMultiSelectionEnabled(true);
        chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
        chooser.setControlButtonsAreShown(false);
        chooser.setCurrentDirectory(new File(path));
        chooser.addChoosableFileFilter(new MyFilter());
        chooser.setAcceptAllFileFilterUsed(false);
        chooser.setDialogType(JFileChooser.OPEN_DIALOG);
        chooser.setMinimumSize(new Dimension(550,350));
        chooser.setPreferredSize(new Dimension(550,350));But I dont want those icons (Recent, My documnets, My Computer, My Network Places ) to be apper on the left. Is it possible to eliminate them? If yes, would u pls give me some hints?
Thanks

Anyone???patience little one, 2 hours is but a blinking in the eye of the Jav.
The buttons are OS specific stuff... maybe you can't hide them, as they don't have the equivalent on other OS, and as such any code to do so would be meaningless on other platforms.
However, windows seems to only display those buttons in certains contexts, so maybe its possible...

Similar Messages

  • In my bookmarks menu Firefox stopped displaying the icons to the left of the bookmark how do i fix this?

    In my bookmarks menu Firefox stopped displaying the small icons to the left of the website name. These icons make it easier to quickly identify a website, without reading the names. How can I fix this? Not sure what I could have done to cause this, if anything. It happened at home and on a similar computer (Mac) at work.

    see : https://support.mozilla.org/en-US/questions/910682
    but i think in 10.0.x version this is solved (if you want to upgrade http://www.mozilla.org/en-US/firefox/all.html )
    thank you

  • HT4527 I can't get all my music I purchased from Itunes on my iphone to work.  When displaying them on my computer I can't play them or on my phone.  They have a little icon to the left that looks like a repeat icon.  It won't let me play them.  Please he

    I can play the music on my itunes under my purchased section but when I go to my phone when I have it connected the a lot of the songs won't play on my song or from the itunes under my phone.  They have a little icon to the left of them that looks like a repeat icon.  It won't let me delete them from there nor play them.  When on my phone only it won't play them it just brings up the clip art but will not play.  Please can anyone help me.
    Thanks,

    Thank you - I thought that might be the case BUT why doesn't the music play that I have bought from itunes - do you happen to know please.
    All that happens is it just flicks through it all and won't play any of it???
    As in I select the song and it just flicks back one screen (if I am making sense).....
    I am really stuck and cannot work out what's gone wrong that's all.
    Considering a reset of my new iphone and trying again but done that once and it's still the same.

  • The little icons to the left of website names (such as the little white 'f' in a blue box for Facebook) on my list of Bookmarks have disappeared so that I now only have the names themselves, which makes it harder to navigate.

    Normally, when I click on Bookmarks at the top of my screen, the list of websites that comes up includes a little icon to the left of each bookmark. Now I only get a list. No icons. What has happened to the little four-colored flag for Hotmail, the 'f' in a blue box for facebook, and all the rest? It's now much harder to navigate.

    Problem solved. Brilliant! Thanks.

  • When I click on a link in an RSS feed it used to indicate that I'd viewed that particular link by changing the icon to the left of the link. It doesn't do that anymore. [SOLVED]

    When I click on a link in an RSS feed it used to indicate that I'd viewed that particular link by changing the icon to the left of the link. It doesn't do that anymore. This started happening right around the time I updated to Firefox 4, but may have been a little before that too. For some things, like news and web comics it's just a little annoying. For important things like looking for new journal articles for my job, it literally makes my job more difficult. So fixing this would make my day.

    I seem to have solved my own problem. When I disabled the add-on "Tab Renamizer" everything started working fine.

  • My device icon in the left column does not appear. so, I can not make the sync.

    my device icon in the left column does not appear.
    so, I can not make the sync

    Device Not Recognised 
    For PC  >  http://support.apple.com/kb/TS1538
    For Mac  >  http://support.apple.com/kb/ts1591

  • Why are some titles in my playlists grayed out with a broken-circle icon to the left in iTunes ?

    Why are some titles in my playlists grayed out with a broken-circle icon to the left in iTunes 12.1.0.50?

    Did you ever get a response on this?
    Thanks!

  • I see an icon to the left of the battery, it looks like a lock within a circle. any ideas what it might be and how to remove it?

    I see an icon to the left of the battery, it looks like a lock within a circle. any ideas what it might be and how to remove it?

    ycr61 wrote:
    I see an icon to the left of the battery, it looks like a lock within a circle. any ideas what it might be and how to remove it?
    It is the orientation lock. To de-activate, double click the home button and scroll to the left until you see the same lock within a circle. Tap it to turn off the lock
    Stedman

  • HT1386 why i can not see the sync icon on the left corner side?

    Dear all
    i am trying to sync my iphone but i can not see the sync icon on the left corner side ?
    although i could see that before.
    thanks
    m.tamiz

    No app I'm afraid.
    These problems can be multifactorial but often are network related.
    You have enabled Home Sharing on all devices?

  • Icons in the left nav shift to the left

    Hello everyone,
    Is there a way to prevent the first tier icons in the left
    navigation (TOC) to prevent shifting to the left when we click on
    the second tier of icons? The user has to use the horizontal scroll
    bar to move the left nav pane to the left to view the first tier
    again. Thank you.

    Not that I know of in the way you describe. However could you
    make the pane wider to stop that? If so visit www.robowizard.com
    and download the Tips and Tricks file. I believe that is described
    in there if your output is a CHM file.

  • What happened to the recently purchased icon on the left side of the playlist?  I used to could purchase songs from one of my computers and then put them on the second authorized computer by selecting recently purchased.  Is there another way?

    What happened to the recently purchased icon on the left side of the playlist?  I used to could purchase songs from one of my computers and then put them on the second authorized computer by selecting recently purchased.  Is there another way?

    Well in order to keep all the ratings, playcounts ect ect of songs in iTUnes, place the songs back into there original folders/places on the "Old harddrive" by cutting (Not copying) them from the new Harddrive. Now iTunes should report the songs has being there and have ! marks beside the imported folder from your external Harddrive.
    Now you will delet the dead/broken links (Or missing music from the new drive)in iTUnes. Goto Ottos site for a script that will remove dead links and other things here
    Just download, unzip, and run the program.
    http://ottodestruct.com/iTunes/QuickScripts.zip
    Now with everything in place and the dead links removed you will either consolidate the library or set it to copy to another Folder. If you consolidate it moves ALL your music listed in iTunes to the "iTunes Music" folder and can not be reversed. If you set it to copy, it will just copy music from its current folder to the iTunes music folder. You will have to pick the best option for you but consolidating will work best if your trying to free up space. To consolidate goto "Advanced" and select "Consolidate Library". To copy goto Edit>preferenses>Advanced tab>general sub tab and check "Copy FIles to iTunes music Folder when added to library". THis location is also where you will change the location of iTunes Music folder from your old harddrive to the new one by hitting the "Change" button above the reset button

  • I hate the "delete tab" icon on the left of the tab!

    Two big "WHY"s for Apple:
    1- Why is the "delete tab" icon on the LEFT of the tab? That's the place I click to move to that tab.
    2- Why is the "delete tab" icon HIDDEN until you mouse over it???
    If you're working quickly, you can click on a tab to bring it up -- BUT too bad! You hit the "delete tab" icon and the Web page disappears.
    The "delete tab" icon should always show, so we can AVOID CLICKING on it.
    AND -- it should be located on the right side of the tab, where we are much less likely to click.

    Hello and welcome....
    This being a user to user forum, (not Apple), your best bet would be to provide feedback to Apple here.
    Apple / Safari Feedback
    Carolyn

  • Why having displayed both generic icons for the PDF and JPEG files and automatic preview of the JPEG files in an ordinary folder are mutually exclusive in Win7?

    In Win7 Pro all my:
    PDF documents, with the 'Large Icons' option chosen in the View tab, display contents of their first page with a tiny thumbnail in the icon's lower right corner, instead of a generic PDF icon.
    JPEG files show Icon size photos, instead of a generic Nero 9 PhotoSnap Essentials icon.
    Folders containing the JPEG photos, however, automatically show preview, when opened, which is desirable feature.
    I found that the Win7 option "Always show icons never thumbnails" in the View tab: Windows Explorer -> Tools -> Folder Options, (where ironically the present 'thumbnails' have nothing to do with 'Thumbnails' from the View option in WinXP), causes the unwanted effects described in points 1 & 2, when unchecked.
    Checking this option solves the problem of the PDF and Nero icons. This time, however, I can only see a Nero 9 PhotoSnap Essentials icons, instead of photos preview on opening of any standard folder with the JPEG photos.
    Did I make a mistake somewhere or maybe Microsoft made changes in Win7 with respect to WinXP, which make it impossible to have both the features working at the same time?

    Hi,
    You can install the Win 8.1 software drivers using this link.
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?cc=us&dlc=en&lc=en&product=4323648&task=&
    Once installed, it should have the same features as the Win 7 drivers for scanning.
    Please click the “Kudos Thumbs up” on the left if this has helped you and “Accept as solution” if this has helped solved your problem.

  • Edit icons on the left not working

    My edit screen is not allowing the drop down choices in the editing bar to the left to be displayed.  None of the boxes work.  For example....I only have use of the dodge tool. The burn tool cannot the accessed.
    Any thoughts?
    Thanks!
    Laurie

    Sorry, I got your name wrong earlier.  I was hoping someone else would take up your problem as I don't know Macs.  Try resetting Preferences by holding down the Shift Opt & Cmd keys as you start Photoshop.
    If that makes no difference, I'm a bit stuck because you are first person with the problem in the time I've been on this forum, but I generally avoid Mac related threads.  
    Can you toggle through the fly out options using the shortcut with the Shift key? 
    Have you tried both right and left clicking the relevant toolbar icons?
    Try resetting the Workspace.  If did this with something like the Essentials workspace, that should restore the default shortcuts.
    I wonder if the screen mode is covering something up?  Try toggling through the three modes with the f key.  Only the first two options allow access to the toolbar.
    I feel like I am grasping at straws, but I don't know Macs.
    What Photoshop related plugins - if any - are installed on that system?
    It might be quicker to simply reinstall Photoshop.

  • How do I move the Bookmark icon to the left side of the screen in Firefox 8.0?

    I am left handed and after all this time I've lost both the bookmarks icon and the homepage icon to the far right of the screen. Why did you do that, to look like Windows Explorer? If I wanted IE8.0 I would have been using it. And the default search engine is Bing? At least there is a work around to change that. You have really made a mess of this outstanding product.

    See directions in
    *http://kb.mozillazine.org/Toolbar_customization
    *https://support.mozilla.com/kb/how-do-i-customize-toolbars

Maybe you are looking for