Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • 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
Sheriff
Posts: 54030
130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't find an error in what you have posted.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!