I'd suggest you write a small simple program to use JFileChooser and print out what its various methods return. Use it several ways such as selecting an existing file or entering the name of a new...
Type: Posts; User: Norm
I'd suggest you write a small simple program to use JFileChooser and print out what its various methods return. Use it several ways such as selecting an existing file or entering the name of a new...
Sorry, I still can't see the problem you are having.
You get the name of the file from the user.
You create an object of a class to write to that file using the name given above in the class's...
Sorry, I can't understand your problem here. Once you get the user enter data into a String variable, then you can use that variable in a file class's constructor.
If the problem is concatenating...
Sorry, I don't understand your problem.
If you get the filename into a String variable, you can use it in your program.
What is "the system" that you talk about?
The JOptionPane class has several methods that return a String.