Hi Fabrice Bouy?,
The bug report you submitted has been determined to
be a new bug. It has been entered into our internal
bug tracking system with the assigned Bug Id: 4422395
The state of the bug can be monitored via the The Java
Developer Connection Bug Parade at:
http://developer.java.sun.com/developer/bugParade/index.jshtml
It may take a day or two before your bug shows up in this
external database.
The Java Developer Connection is a free channel that is maintained
by staff here at Sun. Access this web page to join:
http://developer.java.sun.com/servlet/RegistrationServlet
The home page for the Java Developer Connection is:
http://java.sun.com/jdc
Regards,
Shaheen
----------------- Original Bug Report-------------------
category : java
subcategory : classes_swing
release : 1.3
type : rfe
synopsis : Add a component dedicated to directory choosing and browsing
description : java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Please add a ready-to-use component (JDirectoryChooser) that allows browsing
and selecting a directory in a tree view structure of the current directory
hierarchy (aka the explorer tab in Windows's explorer or in KDE's Konqueror).
That whould allow a easier selection of a directory only than by using the
JFileChooser since we do not need create a file filter as parameter.
here I can see 3 main profits or creating such a component as a stand-alone
dialog or/and as a re-usable panel (which can be included within a dialog):
- The most obvious is ability to build an "explorer" style browser which
displays the directory structure on the left and a view of the content of
the currently selected directory on the right side.
No, no, I'm not asking for and explorer browser within Swing...

, I might
do this myself.
- Some application requires the user to set an input/output/temp directory
in configuration. Installers application requires to select target directory
as well.
Feedback from users (note: mainly Windows* application users) shown me that
JFileChooser was definitely not really targeted nor enough ergonomic for
such a task as you can not really see the whole directory structure and as
you can easily get lost in directories. The file filter and filename can
also seem "weird" to the user.
- JFileChooser is dialog-based and can't be included within a two-view panel
(in case one might want to create an explorer browser) or in other
components.
* Such a dialog/directory tree view exists in some Windows application:
Explorer, Install shield (and other installer software**), Paint Shop Pro***
and in some different form in Visual Studio**** ... But I do not know if its
a custom build component or a standard COM/ActiveX component.
workaround : I made my own one.
suggested_val :
cust_name : Fabrice Bouy?
cust_email : fabriceb@spc.int
jdcid : bouye
keyword : webbug
company : Pacific Community
hardware : generic
OSversion : generic
bugtraqID : 0
dateCreated : 2001-03-05 16:49:39.0
dateEvaluated : 2001-03-06 15:14:21.6
Partager