This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JTable using Vector Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable using Vector" Watch "JTable using Vector" New topic
Author

JTable using Vector

Rajasekaran Anand
Greenhorn

Joined: Sep 13, 2001
Posts: 23
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

Joined: Nov 22, 2008
Posts: 18944
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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTable using Vector
 
Similar Threads
JTable
JCheckBox in JTable
jtable
JTable
JTable