Forum Stats

  • 3,816,408 Users
  • 2,259,185 Discussions
  • 7,893,475 Comments

Discussions

How to extend JFileChooser

grimrand
grimrand Member Posts: 176 Blue Ribbon

Hi I am fairly new to Java programming, and have created some basic GUI applications. I have a JFrame that has a table based on a database that has a list of files and associated business attributes such as a notes field.

When a button is clicked a JFileChooser opens to allow files to be select which can then be added to the database and the table refreshed.

The problem is adding files from multiple folders. Is it possible to extend the JFileChooser to have a button that repeats the file selection, each time adding the selected files to a list panel below the file navigation/selection panel. So that a running list of the files form multiple folders can be seen and added to the database in a single button click.

Regards


Terry