-
Help me plz ...
I want to open file using jbutton ..
Here's my code :
JFileChooser fc = new JFileChooser();
fc.showOpenDialog(null);
File file= chooser.getSelectedFile();
A library of selection of files pop out when I press the button ... But the file doesn't seem to open..
Here's a screenshot when I wanted to open the file :
http://i1091.photobucket.com/albums/...Untitled-3.png
-
Re: Help me plz ...
Please post an SSCCE that demonstrates the problem, as well as the exception you are receiving (I assume you are getting an exceptions given all that red text)
-
Re: Help me plz ...
Sorry i'm new to java .. what does SSCCE stand for ?
-
Re: Help me plz ...
See my signature - Short, Self Contained, Correct (Compilable), Example