This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

File Choosers  RSS feed

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to use the JFileChooser() constructor to open a file which is in the network path.
But all the constructors are support to open the files in the user's home directory.
Could anybody help me to display the dialog box including the Network Neighborhood.
Thank
Nisha
 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think it is possible in the current version of JSDK. There is an article on Sun Java site regarding Swing API changes for JSDK 1.4 version. Do check the section on JFileChooser.
 
He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!