It seems like the design is JTablelike String[][]... but I like to use smarter containers until I use something else. used ArrayList<ArrayList<String>>, now i need to make JTablehappy with String[][].
I found a simple easy way to convert ArrayList<String>to String[]using toArray(), but not find a simple converter for multidimensional arrays.
I want to go from ArrayList<ArrayList<String>>to String[][]to the least number of lines.
I was looking for a library and cannot find this converter and hope someone can offer a good solution for this.
Thanks in advance.
source
share