A simple text editor implemented in Java using Swing components. This text editor provides basic functionalities like creating, opening, and saving text files, along with editing operations such as cut, copy, paste, and delete. Additionally, it supports compiling and running Java code directly from the editor.
- File Operations: Create new files, open existing ones, save files, and save files with a different name.
- Editing Operations: Cut, copy, paste, delete, and select all text.
- Formatting: Change text color using a color chooser dialog.
- Compilation and Execution: Compile and run Java code directly from the editor.
- Error Handling: Basic error handling for file operations and external command execution.
-
Clone the repository:
git clone https://github.com/MaverickWingman/java-text-editor.git
-
Open the project in your favorite Java IDE.
-
Build and run the
Editor.java
file.
- Launch the text editor application.
- Use the menu options to perform various file and editing operations.
- Compile and run Java code using the provided options in the menu.
Contributions are welcome! If you have any ideas for improvement or find any issues, please feel free to open an issue or submit a pull request.
- Special thanks to Mr. Manish Bhatia [Co-Founder & Java Trainer at CodeSquadz, Noida].