This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sorting JTable Rows

 
Jerry Simmers
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to sort my JTable rows in ascending order based on clicking on a particular column header. Is there a simple method to call to do this, or do I need to write my own sort routine? Your assistance is greatly appreciated!
Thanks
 
Manish Hatwalne
Ranch Hand
Posts: 2591
Android Firefox Browser Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The demo samples shipped with JDK 1.4 contains table sorting examples and classes required for that. It is fairly straighforward to use them in your code. Have a look at them.
HTH,
- Manish
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic