A simple Editor using JAVA