Skip to content

DorukEskicorapci/Text-Code-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note & Code Editor

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 JTextPane components for editing and viewing content, with one being non-editable for displaying saved versions.
    • Custom StyledDocument listeners to manage unsaved changes.
  • 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+S for save).

Technologies Used:

  • Java
  • Java Swing & AWT
  • NetBeans IDE

Project Timeline:

  • Start Date: December 2024
  • End Date: (Ongoing)

Installation:

To run this project:

  1. Clone the repository:
  2. Open the project in NetBeans IDE.
  3. Ensure you have Java JDK installed.
  4. Compile and run the driver_gui class.

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.)

About

The project is built to provide a user-friendly interface for writing and organizing text. By integrating features like syntax highlighting and basic formatting tools, it aims to enhance readability and maintain an organized workflow for both notes and code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages