[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/27605] Choosing a directory in the JFileChooser's JComboBox d
From: |
cvs-commit at developer dot classpath dot org |
Subject: |
[Bug swing/27605] Choosing a directory in the JFileChooser's JComboBox doesn't seem to do anything |
Date: |
2 Aug 2006 15:21:37 -0000 |
------- Comment #1 from cvs-commit at developer dot classpath dot org
2006-08-02 15:21 -------
Subject: Bug 27605
CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Roman Kennke <rabbit78> 06/08/02 15:20:38
Modified files:
javax/swing : JComboBox.java
javax/swing/plaf/basic: BasicDirectoryModel.java
BasicFileChooserUI.java
Log message:
2006-08-02 Roman Kennke <address@hidden>
PR 27605
* javax/swing/JComboBox.java
(setSelectedItem): Fire ActionEvent here.
* javax/swing/plaf/basic/BasicDirectoryModel.java
(directories): Changed to type Vector.
(files): New field.
(loadThread): New field.
(DirectoryLoadThread): New inner class. This loads the contents
of directories asynchronously.
(getDirectories): Return cached Vector.
(getFiles): Return cached Vector.
(getSize): Return plain size of contents Vector.
(propertyChange): Reread directory also for DIRECTORY_CHANGED,
FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
(sort): Don't store sorted list in contents. This must be done
asynchronously from the EventThread.
(validateFileCache): Rewritten for asynchronous reading
of directory contents.
* javax/swing/plaf/basic/BasicFileChooserUI.java
(installListeners): Install model as PropertyChangeListener.
(uninstallListeners): Uninstall model as
PropertyChangeListener.
(createPropertyChangeListener): Return null just like the
RI.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JComboBox.java?cvsroot=classpath&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicDirectoryModel.java?cvsroot=classpath&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicFileChooserUI.java?cvsroot=classpath&r1=1.28&r2=1.29
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27605
- [Bug swing/27605] Choosing a directory in the JFileChooser's JComboBox doesn't seem to do anything,
cvs-commit at developer dot classpath dot org <=