/[classpath]/classpath/javax/swing/plaf/metal/MetalFileChooserUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/metal/MetalFileChooserUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by langel, Tue Nov 29 20:22:12 2005 UTC revision 1.11 by langel, Tue Nov 29 21:12:35 2005 UTC
# Line 1005  public class MetalFileChooserUI Line 1005  public class MetalFileChooserUI
1005          return;          return;
1006        FileSystemView fsv = fc.getFileSystemView();        FileSystemView fsv = fc.getFileSystemView();
1007        if (e.getClickCount() == 1 &&        if (e.getClickCount() == 1 &&
1008            selVal.toString().equals(lastSelected.toString()) &&            selVal.equals(lastSelected) &&
1009            e.getButton() == MouseEvent.BUTTON1)            e.getButton() == MouseEvent.BUTTON1)
1010          {          {
1011            File[] sf = fc.getSelectedFiles();            File[] sf = fc.getSelectedFiles();
# Line 1017  public class MetalFileChooserUI Line 1017  public class MetalFileChooserUI
1017              }              }
1018          }          }
1019        else if (e.getClickCount() >= 2 &&        else if (e.getClickCount() >= 2 &&
1020            selVal.toString().equals(lastSelected.toString()))            selVal.equals(lastSelected))
1021          {          {
1022            if (startEditing)            if (startEditing)
1023              completeEditing();              completeEditing();

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26