• Post Reply Bookmark Topic Watch Topic
  • New Topic

JFileChooser  RSS feed

 
kalai sundar
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JFileChooser i don't want user to eneter the filename, by default i want to show my own filename, how to do?
can anyone hepl me
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fileChooser.setSelectedFile(new File("Test.txt"));
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!