JFileChooser: Getting operation interrupted when doing a setCurrentDirectory()

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 1.0.2
    • Component/s: client-libs
    • None

      When using JFileChooser, I am running into a scenario in which when I do a
      setCurrentDirectory(), it will cause the BasicDirectoryModel$LoadFilesThread.run
      which will eventually call myFileSystemView.getFiles(), however, I am
      getting an interrupt exception while the LoadFilesThread is running.
      The jdb output is as follows:

      Basic L&F File Loading Thread[1] java.lang.InterruptedException: operation
      interrupted
              at com.sun.XFileBean.XFileSystemView.getFiles(XFileSystemView.java:52)
      at com.sun.java.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:262)

      When the interrupt operation occurs, it will do a getFiles on the "/" directory.

            Assignee:
            Jeff Dinkins
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: