Hai all, I would like to get the codings for how to add rows dynamically in JTable, since i am not able to get it from the tutorials as it was mentioned in a reply. It will be very helpful anybody could explain thru sample codings. Thanx in advance RoshiniSridharan
posted 15 years ago
Hi If you've seen the tutorial they have shown 2 ways of creating tables. The second method explained to create tables is by using an AbstractTableModel class. Try to see the class DefaultTableModel. This is a very useful class for the funtions you need to perform such as adding , moving , removing rows. Hope it helps you.