JFileChooser?

Discussion in 'Java' started by Kay, Aug 18, 2003.

  1. Kay

    Kay Guest

    Hi,

    I wrote a JFileChooser to chose a file from a symbolic shortcut of a folder
    on Windows XP...However, it doesn't recognize the shoftcut as a folder, but
    as a file, so I can't go into this shortcut folder as I wanted to. How
    should I handle this?

    thanks,
    -Kay
    Kay, Aug 18, 2003
    #1
    1. Advertising

  2. Try this:
    setFileSelectionMode(JFilesChooser.FILES_AND_DIRECTORIES);

    Good luck

    "Kay" <> wrote in message
    news:bhpg1n$drf$...
    > Hi,
    >
    > I wrote a JFileChooser to chose a file from a symbolic shortcut of a

    folder
    > on Windows XP...However, it doesn't recognize the shoftcut as a folder,

    but
    > as a file, so I can't go into this shortcut folder as I wanted to. How
    > should I handle this?
    >
    > thanks,
    > -Kay
    >
    >
    Bairam Annakov, Aug 18, 2003
    #2
    1. Advertising

  3. Kay

    Kay Guest

    It doesn't work...It could recognize folders, just not symbolic links of
    folders. Setting the mode doesn't change anything for me.

    -Kay

    "Bairam Annakov" <> wrote in message
    news:bhq14l$2hu1$...
    > Try this:
    > setFileSelectionMode(JFilesChooser.FILES_AND_DIRECTORIES);
    Kay, Aug 18, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roedy Green
    Replies:
    0
    Views:
    713
    Roedy Green
    Jul 9, 2003
  2. alexonjava99
    Replies:
    0
    Views:
    1,724
    alexonjava99
    Jul 26, 2003
  3. Mr. Deckard

    Re: JFileChooser & RMI

    Mr. Deckard, Aug 10, 2003, in forum: Java
    Replies:
    2
    Views:
    1,346
    Stephen Gilbert
    Aug 10, 2003
  4. Nick =?ISO-8859-15?Q?Wiedenbr=FCck?=

    [JFileChooser] Drive Label Update

    Nick =?ISO-8859-15?Q?Wiedenbr=FCck?=, Sep 19, 2003, in forum: Java
    Replies:
    0
    Views:
    394
    Nick =?ISO-8859-15?Q?Wiedenbr=FCck?=
    Sep 19, 2003
  5. Nick =?ISO-8859-15?Q?Wiedenbr=FCck?=

    [JFileChooser] Drive Label Update

    Nick =?ISO-8859-15?Q?Wiedenbr=FCck?=, Sep 19, 2003, in forum: Java
    Replies:
    2
    Views:
    501
    Nick =?ISO-8859-15?Q?Wiedenbr=FCck?=
    Sep 21, 2003
Loading...

Share This Page