Need JFilechooser Functionality on a Parent Panel
Posted on 2008-10-16
I need the functionality similar to a GUI FTP application...
I need to create a JDialog or JPanel that contains two sets of FileChoosers - one being the "Source",
and the other being the "Destination". Each Chooser sub-panel needs to have basic directory and file navigation, single and multiple file selection capabilities, and have custom buttons including "Select All",
De-Select All", and "Delete.
Besides those functions, there is a button common to both sub-paels "Copy" that will copy the
selected file(s) from the source to the destination directory.
I've seen how you can add accessories to a JFileChooser, but have not seen the functionality
described above. Specifically how to glue the FileChooser widgets to a parent panel (JPanel or
JDialog or ???).
So - is there an "easy" way to embed the file choosers on a parent panel (that I can then add
some custom controls to), or will I have to "roll my own" - the hard way???