Learning Java Swing: Creating a Simple Java Editor