title: How can I get textbox value into array and convert into integer in java
body: <p>I need to get <strong><em>textbox</em></strong> value into <strong><em>array</em></strong> and convert them into <strong>integer</strong>.</p>
  
  <p>I'm not sure whether should I <strong>1st convert and get into array</strong> or <strong>get into array and after convert</strong>.</p>
  
  <p>Please explain with relevant examples
  I've already tied out this code segment. But its wrong according to my knowledge.</p>
  
  <pre><code>           String data [] = Integer.parseInt(jTextField1.getText());
  </code></pre>