• Post Reply Bookmark Topic Watch Topic
  • New Topic

File Browser

 
Senthil Nathan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Need Coding For File Browser using Swing in Windows.
I need coding to display only particular kind of file that is described like choose *.java files and if i choose c:\ then it should all .java files in c:\.Browser should contain directory,drive chooser
 
Thomas Paul Bigbee
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ask and ye shall receive

note - this was for a very specific purpose, I only wanted to get "db" files, however, you could modify the class with a setter method


if (name.endsWith("db")) {


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!