How to bind a Vector with a JTable ? I need a JTable and a Vector<> where each press on a JButton will add a new Object in Vector and add new row and each modification on cells value of the row will be repercuted on the vector and its objects.
The DefaultTableModel
does this by default
Take a look at How to use tables and DefaultTableModel
for more details
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.