This is a simple text editor implemented in Java using Swing. It allows users to open and save text files.
-
Navigate to the
bin
directory:cd bin
-
Run the text editor:
java texteditor.Run
The source code is organized into the following packages and classes:
This class contains the main
method and is the entry point for the text editor.
The Gui
class sets up the graphical user interface (GUI) and handles user actions.
The Operation
class contains action functions and uses the Buffer
class for text manipulation.
-
src
: Contains the source code organized into packages.texteditor
: Package for text editor classes.Run.java
: Main class with themain
method.Gui.java
: GUI setup and action handling.Operation.java
: Action functions using theBuffer
class.
-
bin
: Contains compiled.class
files.
Feel free to explore and enhance the text editor according to your needs.