In Java how do you convert a ArrayList into a two dimensional array Object[][]?
From comments: I will describe you the problem with more details: an XML file inclu
Try this:
ArrayList list = new ArrayList(); list.add(..); list.add(..); list.add(..); list.add(..); list.add(..); list.add(..); int[][] a = new int[list.size()][list.size()]; for(int i =0; i < list.size(); i++){ for(int j =0; j