1 Reply Latest reply: Sep 11, 2012 12:51 PM by morgalr RSS

    JFileChooser move files via drag & drop

    chummer
      Hi all,

      I have a file dialog realized with a JFileChooser and I would like to enable a kind of drag & drop.
      I don't need dragging files out of or into the file chooser. Just inside to move a a selected file into a sub folder.
      It seems that jfilechooser.setDragEnabled(true) does activate drag & drop support between the file chooser and the os, but doesn't permit to move a file inside the same file chooser.

      What would be the right approach to meet this requirement?
      Thanks in advance.