Java GUI for Rot-N application