I have an
ArrayList
Object, I need to display the content of this array in a JTable.
The Map - Ke
ArrayList<Map<String, Object>>
This sounds like the wrong model for the job, there is not really a sensible way of turning this into a single table. Perhaps you mean
Map<String, List<Object>>
This would make a lot more sense. Now one single key (the column name) is mapped to multiple values (the column values).
For datas embed your list in a TableModel. A DefaultTableModel is best.
For columns, embed your list in a TableColumnModel. Best is a DefaultTableModel.
Then use the jtable constructor to use that.