Creating JTable Row Header
Posted
by Chandu
on Stack Overflow
See other posts from Stack Overflow
or by Chandu
Published on 2010-03-31T06:03:15Z
Indexed on
2010/03/31
8:53 UTC
Read the original article
Hit count: 364
Hi all,
I'm new to JTable.I'm working in Swings using JTable & Toplink(JPA). I have two buttons "add Row", "Del Row" and I have some records displayed from db. when ever "add row" is clicked a new record, row header should be added to JTable with an auto increment number displayed in sequential order to the JTable Row Header.
During deletion using "Del row " button the record has to be deleted & not its corresponding header so that next rows got updated to the previous headers & the auto increment number remain unchanged and always be in sequence.
please help me on this regard.
Thanks in advance, Chandu
© Stack Overflow or respective owner