title: Reorganizing a 2d array in Java
body: <p>The comment in the code is what I'm trying to get it to do, change the array from "12345, 12345, 12345 to 111,222,333,444,555"</p>
  
  <pre><code> public void reorganize()
  {
  
       for(int y = 0; y &lt; repeat; y++)//this loop reorganizes the arrays. Each array is now organized by number location rather than how it was inputted. Ex: 12345, 12345, 12345 is now 111,222,333,444,555
     {
          for(int r = 0; y==4; r++)
          {
          newNumbers[r][y] = numbers[y][r];   
          }            
      }    
  </code></pre>
  
  <p>I've been trying to fix this and I've rewritten it a couple times but it never ends up working right. This is my first time posting on SO and I hope you guys can help me (:</p>
  
  <p>Thank you</p>