summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/gui/filechooser
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cuchaz/enigma/gui/filechooser')
-rw-r--r--src/main/java/cuchaz/enigma/gui/filechooser/FileChooserAny.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/cuchaz/enigma/gui/filechooser/FileChooserAny.java b/src/main/java/cuchaz/enigma/gui/filechooser/FileChooserAny.java
new file mode 100644
index 0000000..2339334
--- /dev/null
+++ b/src/main/java/cuchaz/enigma/gui/filechooser/FileChooserAny.java
@@ -0,0 +1,11 @@
1package cuchaz.enigma.gui.filechooser;
2
3import javax.swing.*;
4
5public class FileChooserAny extends JFileChooser
6{
7 public FileChooserAny() {
8 this.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
9 this.setAcceptAllFileFilterUsed(false);
10 }
11} \ No newline at end of file