title: Array values log into a GUI
body: <p>I got this code running good in a console, but how can i implement this array log in values using Graphical User Interface (Swing) in Java?</p>
  
  <p>With implement in GUI i mean give the user the change of log in values like the array does, but implemented in a graphical environtment.</p>
  
  <pre><code>int[][] array = new int[4][5];
  
           for(int i = 0; i &lt; array.length; ++i)
               for(int j = 0; j &lt; array[i].length; ++j)
                   array[i][j] = sc.nextInt();
  
  double[][] lhsArray = { {array[0][0],array[0][1],array[0][2],array[0][3]},  {array[1][0],array[1][1],array[1][2],array[1][3]},  {array[2][0],array[2][1],array[2][2],array[2][3]}, {array[3][0],array[3][1],array[3][2],array[3][3]} };
           double[] rhsArray = {array[0][4],array[1][4],array[2][4],array[3][4]};
  </code></pre>
  
  <p>what the above code does is create a Bidimentional array and let the user to log in the values one by one into the 4x4 array, i want implement the same but using GUI, instead of using console.</p>