CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Lillian Angel <[EMAIL PROTECTED]> 05/11/30 19:42:41
Modified files: . : ChangeLog javax/swing/plaf/basic: BasicFileChooserUI.java javax/swing/plaf/metal: MetalFileChooserUI.java Log message: 2005-11-30 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicFileChooserUI.java (actionPerformed): Added check to determine if parentPath is null. (actionPerformed): Set selected file and files to null if 'cancel' was clicked. (mouseClicked): Cleaned up code a bit and set the selected files if multi-selection is enabled. Also, added code to set the file name in the text field if the selection mode is DIRECTORIES_ONLY. * javax/swing/plaf/metal/MetalFileChooserUI.java (actionPerformed): No need to set fileListPanel, it is set in createList. (actionPerformed): Likewise. (propertyChange): If the dialog type is SAVE, then the approve button text should change depending on what is currently selected. It should say 'Open', if a directory is currently selected. (actionPerformed): Fixed check. (mouseClicked): Added code to set the file name in the text field if the selection mode is DIRECTORIES_ONLY. (editFile): Adjusted y position of editing text field in table. (installListeners): Added code to initially install listeners to the list. (createList): Cleaned up and made more efficent. (createDetailsView): No need to set intercellSpacing. (updateTable): Cleaned up and made more efficent. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5754&tr2=1.5755&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicFileChooserUI.java.diff?tr1=1.20&tr2=1.21&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalFileChooserUI.java.diff?tr1=1.12&tr2=1.13&r1=text&r2=text