aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-05-21 01:04:39 -0700
committerPinapelz <yukais@pinapelz.com>2026-05-21 01:04:39 -0700
commitf12b2ef0c0018f94e9b7896b01df1b9e3f21b6b3 (patch)
tree1b8bdb6eb41c6082cf5513791cfebae0b3285aaf /src
parentf140a977dd16b8a5357fccb136b16a1f4195cfe6 (diff)
remove unused directory file chooser method from DownloadConfigPane
Diffstat (limited to 'src')
-rw-r--r--src/main/java/DownloadConfigPane.java13
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){
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage