Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need For Help Please  RSS feed

 
gargooshM tag
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
Does anyone know how to obtain the path of the last accessed path for the JFileChooser please
 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch

Will something like

File f = myFileChooser.getSelectedFile();
System.out.println(f.getAbsolutePath());

help?

And please don't use thread titles like "Need For Help Please".
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!