• Post Reply Bookmark Topic Watch Topic
  • New Topic

JFileChooser on Solaris : Cant select directories  RSS feed

 
GopiKrishnan gkrishna
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using JFileChooser in my application and i wanted to select folders as well as the files so i used the following code:



I am able choose files and directories in Windows, but if I run my application in Linux / Solaris I cant choose Directories.

Can anyone please help me?
 
Campbell Ritchie
Marshal
Posts: 56225
171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't find an error in what you have posted.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!