Skip to main content

Important Note in JFileChooser

No replies
khateeb
Offline
Joined: 2006-03-04
Points: 0

if you have a folder that contains images (first image 1.jpg and last image 300.jpg)
the problem when you open the folder using JFileChooser the JFileChooser
sort them as the following
1.jpg
10.jpg
100.jpg
101.jpg
102.jg
and so on, i would like to sort them as the following (as Windows Sort)
1.jpg
2.jpg
3.jpg and so on ,can any one help me?