I think you guys did a good job on the GUI, but you might want to look into MVC(model view controller) and try to refactor this code to have the GUI creation and Encryptions handled by different classes. You may want have class that creates the JFrame and adds all of the correct panels etc, and another class that actually does the encryptions.