-
-
Save anatawa12/c25c67cff0272792f57af3596f11dc08 to your computer and use it in GitHub Desktop.
JFileChooser bug report
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javax.swing.*; | |
| public class SimpleJFileChosser { | |
| public static void main(String[] args) { | |
| JFileChooser dirChooser = new JFileChooser(); | |
| dirChooser.setFileHidingEnabled(false); | |
| dirChooser.showOpenDialog(null); | |
| JOptionPane.showMessageDialog(null, "provided path is " + dirChooser.getSelectedFile().getPath()); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment