This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Moving table row up/down? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Moving table row up/down?" Watch "Moving table row up/down?" New topic

Moving table row up/down?

Shashidhar Yarabati
Ranch Hand

Joined: Jun 17, 2007
Posts: 175
I have JTable with no.of columns.
User can select particular row and that row can move up/down.

Now what I want to do is I want to show particular row(among lot of rows) in that table as front view.
As I have scrollbar attached to my table, once the user move particular row up/down scrollbar is moving up means it is showing first row.

I want to show the row which recently moved up/down.
How is it possible

Shashidhar<br /> SCJP 1.5<br /> SCWCD 5.0
I agree. Here's the link:
subject: Moving table row up/down?
It's not a secret anymore!