title: How to bind an array to JComboBox dynamically?
body: <p>I binding an array to <code>JComboBox</code> like following:</p>
  
  <pre><code>String[] arr={"ab","cd","ef"};
  final JComboBox lstA = new JComboBox(arr);
  </code></pre>
  
  <p>but I want bind array to <code>JComboBox</code> dynamically like following :</p>
  
  <pre><code>final JComboBox lstA = new JComboBox();
  void bind()
  {
      String[] arr={"ab","cd","ef"};
      // bind arr to lstA     
  }
  </code></pre>
  
  <p>How to do it?</p>