Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable using Vector

 
Rajasekaran Anand
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
Did anyone have the code for JTable using AbstractTableModel
which uses vector for maintaining data and the functionalities
like add,delete,update the rows.Kindly anyone give me an
example...
Looking forward...
cheers guys,
Anand
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if this is what you're looking for but the following code might help. It uses 3 vectors (2 for rowdata and 1 for columns) to print out a table from a database.

Good Luck
Suhail Sarwar

Originally posted by Rajasekaran Anand:
Hi guys,
Did anyone have the code for JTable using AbstractTableModel
which uses vector for maintaining data and the functionalities
like add,delete,update the rows.Kindly anyone give me an
example...
Looking forward...
cheers guys,
Anand

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic