This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Displaying my File system-JTree?  RSS feed

 
Pat Peg
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to add a bit of code to a project. I want to allow the user to view his/her file system and choose a file to open (which the contents of would then be read by the program.) I have no experience with JTree but I was thinking that this might be the way to go-is it? Is there a better approach?

Thanks
 
Pat Peg
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind-I discovered JFileChooser...I shall plant my flag on it and claim it in the name of the king of spain...I need a nap now.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!