Notepad is a Java application that provides a simple text editor with various features for text formatting, file operations, and text searching.
- Text formatting options such as font style, size, and color.
- Copy, cut, and paste functionality for manipulating text.
- Undo and redo operations to revert or restore changes.
- File operations including opening, saving, and saving as a new file.
- Find functionality to search for specific words or phrases within the text.
- Highlighting of matching words in the text.
- User-friendly interface with a menu bar and toolbar for easy access to features.
- Support for multiple document tabs, allowing the user to work on multiple files simultaneously.
The Notepad application utilizes the following data structures:
- Stack: Used for implementing undo and redo functionality to store the state of text changes.
- Queue: Used for managing file operations and maintaining the order of files opened.
- LinkedList: Used for storing the text content, providing efficient insertion and deletion operations.
- Binary Search Tree (BST): Used for implementing the find functionality and efficiently searching for words within the text.
To run the Notepad application on your local machine, follow these steps:
- Clone the repository:
git clone https://github.com/SajidBhatti786/Notepad.git
-
Open the project in your preferred Java IDE.
-
Build and run the application.
- Text Formatting: Use the formatting options provided to change the font style, size, and color of selected text or the entire document.
- Copy-Paste: Select text and use the copy and paste options to duplicate or transfer text between documents.
- Undo-Redo: Use the undo and redo options to revert or restore changes made to the text.
- File Operations: Use the file menu to open existing files, save changes, or save the current document as a new file.
- Find: Use the find option to search for specific words or phrases in the text. Matching words will be highlighted.
Contributions to the Notepad project are welcome. If you have any suggestions, improvements, or bug fixes, please submit a pull request or open an issue in the GitHub repository.
- Notepad
- Java
- Text editor
- Text formatting
- Copy-paste
- Undo-redo
- File operations
- Find functionality
- Highlighting
- User interface
- Menu bar
- Toolbar
- Multiple documents
- Data structures
- Stack
- Queue
- LinkedList
- Binary Search Tree (BST)
- Getting started
- Local development
- Clone
- IDE
- Build and run
- Usage
- Text manipulation
- File management
- Contributing
- Pull requests
- Issue tracking
- License
- MIT License
- Open source project
- Customization
- Bug fixes
- Suggestion
- Improvement
- Documentation
- File opening
- Saving files
- Search functionality
- Word search
- Text highlighting
- User-friendly interface
- Version control
- Collaboration