Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6362547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:55:21+00:00 2026-05-24T23:55:21+00:00

The JFileChooser in Swing (Java 1.6.0_u25) doesn’t seem to know how to deal with

  • 0

The JFileChooser in Swing (Java 1.6.0_u25) doesn’t seem to know how to deal with NTFS Junction Points or Symbolic Links.

The file chooser has no special handling:

int rv = mainfileChooser.showOpenDialog(parentFrame)

When using this on a Windows 7 box, the special folders under My Documents (My Pictures, My Videos, My Music) can’t be entered – the user clicks on them, but nothing happens and they can’t be selected. After some experimentation, the same thing happens with any SymLink or Junction Point (both pre-generated by the OS and manually created.)

.lnk Shortcuts to directories work fine.

Is there a way to fix this and let my users save images in “My Pictures”?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T23:55:22+00:00Added an answer on May 24, 2026 at 11:55 pm

    By an amazing coincidence, Java 1.6u27 just shipped, and includes a fix for this very issue!

    Release Notes:
    http://www.oracle.com/technetwork/java/javase/2col/6u27bugfixes-444150.html

    Bug Writeup:
    https://bugs.java.com/bugdatabase/view_bug?bug_id=7012783

    The bug discussion revolves around DFS links, rather than Junction points, but I believe the issues are the same, and testing this locally all the wacky behavior has gone away and I can save to My Pictures (and friends) just fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented JFileChooser of Java swing successfully. As the implemented JFileChooser gives file
I face the following strange problem while using JFileChooser package sandbox; import java.io.File; import
I have a question about the JFileChooser in Swing. I'm trying to get multiple
The JFileChooser seems to be missing a feature: a way to suggest the file
Can a JApplet use a JFileChooser so that the user can select a file
How can I enforce the JFileChooser filetype (when saving). I have implemented a file
How would I link the file choosen from a JFileChooser to a file and
If you open a dialog in Swing, for example a JFileChooser, it goes somewhat
Good afternoon all, I have an instance of a javax.swing.JFileChooser and I added a
I've created a JFileChooser which I use to locate a directory for a file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.