title: Converting an ArrayList into a 2D Array
body: <p>In Java how do you convert a ArrayList  into a two dimensional array Object[][]?</p>
  
  <p>From comments:  I will describe you the problem with more details: an XML file includes a list of contacts (e.g. name, address...). The only way I can obtain this information is through an ArrayList, which will be given to me. As I need to store the content of this array list in a Java Swing table in an ordered manner, I was thinking to convert it into a two dimensional array of objects</p>