• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to creat Browse button  RSS feed

 
nana Amr
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im working on a project client/server ,client select some files from pc and the server do some action on them,,,
so i need to add a( Browse button )at client interface so the user select where these files are so i need to know the folder path
i know how to use FileDialog to make save,load but im asking if there is somethig like FileDialog which i can use to get the selected path??
 
Manuel Moons
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use JFileChooser to select a file or a directory. You have to put the fileSelectionMode to DIRECTORIES_ONLY.
 
nana Amr
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i dont need to save or open a file, put i need a path for the folder which contain many files so i can do some operation on them,,,,
plz if u know any method that will give me the gui in the figure
tell me plz

[ May 21, 2005: Message edited by: nana mm ]
 
nana Amr
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what if i use a JTree? who to make tree for (my computer)?
plz any one answer me?
 
nana Amr
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
plz helppppppppppppp
 
nana Amr
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
plzzzzzzzzzzzzzz somebody answer me
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!