Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use jfile chooser button ??

bharani priya
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a browse button to get input file from user and when this browse button clicked it should select d file needed, how to apply this with file chooser ???

i have doubt that to apply like method1 or method2:

method 1:
input file [-----------------] [browse]
a open window opens you to select

method 2:
directly having a file chooser in the main page?

if the above methods are wrong , please help me out with a right code.
i want get input a file and once selected its name is shown in window and used for processing.
Maneesh Godbole
Saloon Keeper
Posts: 11257
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic