• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

How to move a row in JTable?

 
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?
 
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 ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!