Editor example Very simple editor written in Java. Original Version copied from https://www.geeksforgeeks.org/java-swing-create-a-simple-text-editor. The main window: It is even possible to change a few settings: Using FlatLaf - Flat Look and Feel Themes RSyntaxTextArea Themes