Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JFile Chooser Sorting  RSS feed

 
Suman Mummaneni
Ranch Hand
Posts: 96
Android Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is sorting of the displayed files possible in JFileChooser?
 
Jeff Grant
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean sort by type?
 
Suman Mummaneni
Ranch Hand
Posts: 96
Android Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes I need to enable sorting in the JFileChooser, if you select the file view as detail then you get its name,size,date and other column describing the file if you click on the name column header then the file displayed in the file view must be sorted by name and simillar action must be performed when clicking on other column headers. But this does not happen when you use the JFileChooser. I want to know if this feature can be expilictly be enabled or its not possible in the JFIleChooser.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!