EDIT: I've posted a clarification as an answer, see below for more details.
I am writing a java program that needs a file open dialog. The file open dialog isn't difficult, I'm hoping to use a JFileChooser
. My problem is that I would like to have a dual pane JFrame
(consisting of 2 JPanels
). The left panel would have a JList
, and the right panel would have a file open dialog.
When I use JFileChooser.showOpenDialog()
this opens the dialog box above all other windows, which isn't what I want. Is there any way to have the JFileChooser
(or maybe another file selection dialog) display inside a JPanel
and not pop-up above it?
Thanks for your time,
Shane