15 Puzzle Java Applet and JFrame