I want to open file using jbutton ..
Here's my code :
JFileChooser fc = new JFileChooser();
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 :