If your only problem is that it's printing the rows in the opposite order from what you'd like you can just change the order in which you print the rows:
for(int r=size-1;r>=0;r--)
Also, I'm a little confused by your code. The method magicSq is accepting an int[][]table as a parameter but then never does anything at all with it. Is the code supposed to do something with that table?