title: how to bind ArrayList to JList
body: <p>i have a JList and an ArrayList.How to bind the datas in arraylist to the jlist.Are the any alternative methods? </p>
  
  <pre><code>    ArrayList arl = new ArrayList();
      arl.add("1asdsd");
      arl.add("2asdsd");
      arl.add("3asdsd");  
      Object obj = arl.clone();
      JList list = new JList(obj);
  </code></pre>
  
  <p>how to bind the above code.Now the code give an error.</p>