![How to Use File Choosers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components) How to Use File Choosers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)](http://dev.cs.ovgu.de/java/Tutorials/java.old/figures/uiswing/components/FileChooserDemo3Metal.png)
How to Use File Choosers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
![java - Making a JFileChooser select the text of the file name but not the extension - Stack Overflow java - Making a JFileChooser select the text of the file name but not the extension - Stack Overflow](https://i.stack.imgur.com/BVHMa.jpg)
java - Making a JFileChooser select the text of the file name but not the extension - Stack Overflow
![How to Use File Choosers (The Java™ Tutorials > Creating a GUI with JFC/Swing > Using Swing Components) How to Use File Choosers (The Java™ Tutorials > Creating a GUI with JFC/Swing > Using Swing Components)](https://www.cs.auckland.ac.nz/references/java/java1.5/tutorial/figures/uiswing/components/FileChooserOpenMetal.png)
How to Use File Choosers (The Java™ Tutorials > Creating a GUI with JFC/Swing > Using Swing Components)
![java - How to get the file extension in JfileChooser if the user input the filename without extension - Stack Overflow java - How to get the file extension in JfileChooser if the user input the filename without extension - Stack Overflow](https://i.stack.imgur.com/rZxDM.gif)