SlowDeepCoder
SlowDeepCoder

Reputation: 882

The sort-by-XXX-button

Is there an easy, simple, way to do create buttons for sorting lists by name, size etc just like these:

http://lh6.ggpht.com/_SU7V9sPwn1o/TUmfW_qBiCI/AAAAAAAABTo/9CJYApWzMfI/s1600/Task-manager-IE-memory7.png

(Image name, User namne, SPU etc.)

I want to do a list with such buttons but I assume there must be an easy way to implement there buttons.

PS, using swing!

Upvotes: 1

Views: 377

Answers (1)

Grammin
Grammin

Reputation: 12215

You could do this by implementing JTables using java swing.

Check out these docs.

Upvotes: 5

Related Questions