Results 1 to 2 of 2
  1. #1
    rahul405804 is offline Member
    Join Date
    Apr 2012
    Posts
    14
    Rep Power
    0

    Unhappy Problem with Java swing directory chooser

    I have used swing directory chooser to select input directory for my application to process.
    But if I select a particular directory, for example..
    c:/Desktop/user/documents/myfolder

    filechooser.getcurrentDirectory() returns only "c:/Desktop/user/documents/".
    Why? Can anyone say why this is happening?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,453
    Rep Power
    20

    Default Re: Problem with Java swing directory chooser

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Java Swing Problem
    By mohitgupta1989 in forum Advanced Java
    Replies: 7
    Last Post: 06-23-2010, 08:46 AM
  2. JFile Chooser
    By karno in forum NetBeans
    Replies: 4
    Last Post: 03-17-2010, 01:47 PM
  3. File chooser internationalization problem
    By Astghik in forum AWT / Swing
    Replies: 10
    Last Post: 01-14-2010, 07:44 PM
  4. [SOLVED] File chooser selecting file from directory...?
    By prabhurangan in forum AWT / Swing
    Replies: 12
    Last Post: 06-18-2008, 05:08 AM
  5. Using File Chooser
    By shaungoater in forum New To Java
    Replies: 0
    Last Post: 03-20-2008, 01:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •