Skip to content

A simple Java-based text editor. Provides basic text editing features including file creation, opening, saving, and editing.

License

Notifications You must be signed in to change notification settings

YiqiWang128/java-text-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Java Text Editor

A simple text editor built in Java with a GUI. This editor allows users to create, open, edit, and save plain text files. It uses Java Swing for the graphical interface and provides basic text editing functionalities.

Features

  • Create new text files.
  • Open and edit existing text files.
  • Save text files.
  • Basic text editing operations (cut, copy, paste).
  • Simple and user-friendly interface.

Installation

  1. Clone this repository:

    git clone https://github.com/YiqiWang128/java-text-editor.git
  2. Compile and run the program:

    Ensure you have Java 8 or higher installed. Then, compile and run the program with the following commands:

    javac Notepad.java
    java Notepad

Usage

  • New File: Click File > New to start a new document.
  • Open File: Click File > Open to open an existing text file.
  • Save File: Click File > Save to save your document.

Keyboard Shortcuts:

  • Ctrl + N: New File
  • Ctrl + O: Open File
  • Ctrl + S: Save File
  • Ctrl + C: Copy
  • Ctrl + X: Cut
  • Ctrl + V: Paste

Requirements

  • Java 8 or higher

About

A simple Java-based text editor. Provides basic text editing features including file creation, opening, saving, and editing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages