Reverted code due to bad form/java mismatch on GUI.