How to set row data for JTable from ArrayList ?
843806Feb 19 2009 — edited Mar 4 2009Hi,
I have an ArrayList with custom class objects.
Object propeties are name and value.
I want to display each object as row elements in a JTable with column header as Name and Value.
I have to set this data for JTable after its creation and not at its creation time.
How can i achieve it to display arrayList object data directly in JTable. If its possible please explain with any example, if not then any alternative for this.
Thanks in advance.