how getting the name of file without extension ?
807591May 27 2007 — edited Apr 29 2008Hello all!
I am trying to get the name of a file like this :
JFileChooser dialog = new JFileChooser
File x= dialog.getSelectedFile();
String name = x.getName();
but x is name_of_the file+"."+extension;