Java File Selection UI
There are 2 main options for opening a File Selection dialog in Java:
- java.awt.FileDialog
- javax.swing.JFileChooser
The FileDialog looks identical to the native UI, but does not support multiple selection until Java 7.If multiple selection is needed, then use JFileChooser, but it will not look exactly like native UI.
No comments:
Post a Comment