-1

I am making a calendar scheduling program. Right now, I have a JList with entries from my LinkedList. Is there a way to sort the LinkedList so that Sunday will appear first, and Saturday will appear last? Thanks!

4

1 回答 1

0

该方法Collections.sort()将对您传递给它的任何列表进行排序。先对数组列表进行排序,然后放入JList.

于 2013-08-04T11:57:42.273 回答