I have a swing code. In which I will select a file and I want to pass that file to a method as a string. how to do it? Please give me a simple solution.This code should be in java
Ok I got the answer just follow this answer
Reading a txt file in a Java GUI gui/13667222#13667222