posted 12 years ago
There are two parts to it, which are really independent of one another: writing the GUI, and reading a file. Which part are you having problems with? Assuming that you're talking about a local file, note that it's much more user-friendly to select the file by using an AWT FileDialog or a Swing FileChooser, than by entering the file name.