Project Overview:
This project represents is the first fully full-stack application I built using Java Swing and AWT libraries. The Note & Code Editor is designed to mimic some functionalities of an Integrated Development Environment (IDE), with a focus on user-friendly text editing for both notes and code.
Features:
-
Java Swing and AWT Integration:
- Utilized Swing components and AWT for creating an intuitive GUI, enhancing interaction and usability.
-
File Management:
- Efficient saving, retrieval, and organization of both notes and code snippets in a database or file system.
Key Components:
-
Text Editor:
- Two
JTextPanecomponents for editing and viewing content, with one being non-editable for displaying saved versions. - Custom
StyledDocumentlisteners to manage unsaved changes.
- Two
-
Formatting Tools:
- Toolbar with buttons for bold and italic text formatting, font size selection, and text type (e.g., headings).
-
File Operations:
- Menu bar options for opening, saving, and saving as different versions of documents, including keyboard shortcuts (e.g.,
Ctrl+Sfor save).
- Menu bar options for opening, saving, and saving as different versions of documents, including keyboard shortcuts (e.g.,
Technologies Used:
- Java
- Java Swing & AWT
- NetBeans IDE
Project Timeline:
- Start Date: December 2024
- End Date: (Ongoing)
Installation:
To run this project:
- Clone the repository:
- Open the project in NetBeans IDE.
- Ensure you have Java JDK installed.
- Compile and run the
driver_guiclass.
Usage:
- Use the toolbar for text manipulation.
- Save your work through the File menu or with
Ctrl+S. - Manage different versions of your documents for version control.
Plans for Future:
- Functional header selection bar
- Automatic outline creator based on header selection.
- IDE-like Functionalities:
- Syntax Highlighting: Provides visual cues for better code readability.
- Code Formatting: Assists in maintaining clean and organized code structures.
- Save as option
- Being able to edit saved files (.txt, .java, .py, etc.)