Finding a Magic Square

Did you know that it is possible to put the digits 1 through 9 on a 3 by 3 board, where each digit is placed exactly once, and all the rows, columns and diagonals add up to 15? Try it!

The source code is Magic.java