R
R
roman38472014-04-18 17:59:20
Java
roman3847, 2014-04-18 17:59:20

Java, Is it possible to use JFileChooser not to open a file, but to get the path to a file or folder into a String variable?

Or can it be done using something else?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2014-04-18
@leahch

docs.oracle.com/javase/7/docs/api/javax/swing/JFil... in fact, everything is said in the very example at the beginning of the class. Yes, you can.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question