Skip to content

A versatile and user-friendly text editor built in Java using Swing. This editor offers a range of features, from basic file operations to advanced text formatting and real-time spell-checking.

Notifications You must be signed in to change notification settings

mujeebullahkalhoro/TextEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Editor

Text Editor Screenshot

A versatile and user-friendly text editor built in Java using Swing. This editor offers a range of features, from basic file operations to advanced text formatting and real-time spell-checking.

Features

File Operations

  • New File: Start a new document.
  • Open File: Load an existing file into the editor.
  • Save File: Save the current document.
  • Print File: Print the content of the document.
  • Exit: Close the text editor.

Edit Menu

  • Cut: Remove the selected text and copy it to the clipboard.
  • Copy: Copy the selected text to the clipboard.
  • Paste: Insert the contents of the clipboard at the cursor position.
  • Select All: Highlight the entire text for easy manipulation.

Theme

  • Light Theme: Switch to a light color scheme for a comfortable reading experience.
  • Dark Theme: Switch to a dark color scheme for reduced eye strain during low-light conditions.

Top Bar

  • Font Selection: Choose from a variety of available fonts, including JetBrains Mono.
  • Font Size Adjustment: Increase or decrease the font size for optimal readability.
  • Text Color Customization: Personalize the text color to suit your preferences.

Real-time Spell Checking

  • Misspelled Word Detection: Underlines misspelled words in real-time.
  • Suggestion Popup: Right-click on misspelled words to view suggestions and add to the dictionary.

How to Run

  1. Clone the repository.
  2. Compile and run the Main class.
javac com/twostarts/Main.java
java com.twostarts.Main

About

A versatile and user-friendly text editor built in Java using Swing. This editor offers a range of features, from basic file operations to advanced text formatting and real-time spell-checking.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages