I am a beginner so maybe I'm missing something simple but I am writing a program and it keeps giving me an access denied error when I select any directory with JFileChooser.
`C:\Users\comma\Documents (アクセスが拒否されました。) at java.base/java.io.FileOutputStream.open0(Native Method) at java.base/java.io.FileOutputStream.open(FileOutputStream.java:289) at java.base/java.io.FileOutputStream.
Источник: [url]https://stackoverflow.com/questions/78131628/why-is-java-giving-me-an-access-denied-error-in-jfilechooser[/url]
I am a beginner so maybe I'm missing something simple but I am writing a program and it keeps giving me an access denied error when I select any directory with JFileChooser.
[code] `C:\Users\comma\Documents (アクセスが拒否されました。) at java.base/java.io.FileOutputStream.open0(Native Method) at java.base/java.io.FileOutputStream.open(FileOutputStream.java:289) at java.base/java.io.FileOutputStream.