hi, me again, todays question is how can i sort my FileNames from a-z in the event of a button click. the files are in the same folder as my application.
You might wanna checkout the java.util.Collections class, especially the sort() methods
, Ranch Hand
If you have the file names in array of String then you can always sort them using the static method Arrays.sort(Object).
Good night. Drive safely. Here's a tiny ad for the road:
Rocket Oven Kickstarter - from the trailboss
This thread has been viewed 367 times.
All times above are in ranch (not your local) time.
The current ranch time is
Jul 23, 2018 05:32:14.