Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to move a row in JTable?  RSS feed

 
Karthikeyan Chandrasekaran
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

JTable provides in-built support for reordering columns(by clicking on column header and dragging it to desired location). I would like to create a similar behavior in JTable rows. That is, I should be able to select and drag a row to a particular position. Could anyone tell me how to do that?
 
Shoumin Li
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you need write a simple code.
http://www.jguru.com/faq/view.jsp?EID=409515
here tell the method,
[ July 12, 2007: Message edited by: Shoumin Li ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!