diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-05-21 01:04:39 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-05-21 01:04:39 -0700 |
| commit | f12b2ef0c0018f94e9b7896b01df1b9e3f21b6b3 (patch) | |
| tree | 1b8bdb6eb41c6082cf5513791cfebae0b3285aaf /src | |
| parent | f140a977dd16b8a5357fccb136b16a1f4195cfe6 (diff) | |
remove unused directory file chooser method from DownloadConfigPane
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/java/DownloadConfigPane.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/java/DownloadConfigPane.java b/src/main/java/DownloadConfigPane.java index fb71c55..b3e0bd5 100644 --- a/src/main/java/DownloadConfigPane.java +++ b/src/main/java/DownloadConfigPane.java @@ -231,19 +231,6 @@ public class DownloadConfigPane extends JFrame{ return null; } - private File selectDirectoryFileChooser(){ - JFileChooser chooser = new JFileChooser(); - chooser.setCurrentDirectory(new File(System.getProperty("user.home"))); - chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); - int result = chooser.showOpenDialog(this); - if (result == JFileChooser.APPROVE_OPTION) { - File selectedFile = chooser.getSelectedFile(); - System.out.println("Selected file: " + selectedFile.getAbsolutePath()); - return selectedFile; - } - return null; - } - private void loadConfigFromFile(){ File file = selectTextFileChooser(); if (file == null){ |
