Bug 23023 - JFileChooser should allow selecting directories
Summary: JFileChooser should allow selecting directories
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: swing (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: 0.19
Assignee: Lillian Angel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-05 06:32 UTC by from-classpath
Modified: 2005-09-15 18:06 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-08-21 04:54:57


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description from-classpath 2005-07-05 06:32:28 UTC
I have an application that wants the user to select a directory
via JFileChooser (the app would then scan the directory for
images and display those images).

Unfortunately, the JFileChooser comes up correctly, 
calling setFileSelectionMode( DIRECTORIES_ONLY ) works, 
but the JFileChooser will not let the user select a directory
afterwards:

* A double-click on one of the displayed directories (correctly)
  changes JFileChooser to that directory.

* A single click on one of the displayed directories does nothing
  (directory should be selected, and its name displayed in the
  textfield)

* Typing the directory name into the textfield does not work
  either.

Comment 1 Thomas Fitzsimmons 2005-08-21 04:54:57 UTC
Reassigning to Lillian.
Comment 2 Lillian Angel 2005-09-06 21:10:38 UTC
fixed.
Comment 3 Lillian Angel 2005-09-06 21:11:15 UTC
fixed