I'm writing a GUI in Swing where I want to do a file chooser that is in the main window, looking something like the image below:
while there seem to be quite a few tutorials on how to write a popup file chooser, i don't see much information on how this type of chooser might be accomplished in swing.
also sorry if this has been asked before, i did a good bit of searching around and wan't able to find anything else..
JFileChooser actually extends JComponent, so you can use like any other component. Here is an example with two in-pane file choosers:
PanelBrowser
, shown below, is a basic prototype that functions similarly to the Mac OS X Finder column view illustrated in your question.Update: Added horizontal scrolling and more file information.