Skip to main content

Text Editor

Project Overview

Introduction

This project was made as a part of the Object Oriented Programming course. The goal of this project was to create a text editor using Java Swings.

Tech Stack

  • Java
  • Java Swings

Features

  • Create a new file
  • Open an existing file
  • Save a file
  • Save as a file
  • Cut, Copy, Paste, Select All
  • Undo, Redo
  • Change font size, family and color
  • Highlight text
  • Find and Replace
  • Word Count

Implementation

  • The project was implemented using Java Swings.
  • Undo and Redo was implemented using stacks.
  • Find and Replace was implemented using regular expressions.
  • Word Count was implemented using regular expressions.
  • Open and Save was implemented using File Chooser.
  • Highlighting was implemented using Styled Document.
  • Font size, family and color was implemented using Font Chooser.