How, in Java, do I convert an ArrayList of arrays to a two-dimensional array?
Example:
ArrayList<String[]> results = new ArrayList<String[]>();
String [] columns = {a few strings};
JTable table = new JTable(results.toArray(), columns);
I get the error that JTable(Object[], Object[]) is not defined.
See Question&Answers more detail:os