summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorRoman Kennke <roman@kennke.org>2006-08-02 15:20:35 +0000
committerRoman Kennke <roman@kennke.org>2006-08-02 15:20:35 +0000
commit9687141cf3aa076cf985e4f698fdd0ea3581e608 (patch)
treee6b8450d0f99c2c2e9097fe78a9d55184ada42f2 /java
parent96e691c80b4df8929bf41dded5119b067ab7524c (diff)
downloadclasspath-9687141cf3aa076cf985e4f698fdd0ea3581e608.tar.gz
2006-08-02 Roman Kennke <kennke@aicas.com>
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.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions