A simple Notepad application written in Java using Swing for creating, opening, editing, and saving text documents.
- Create new documents
- Open existing documents
- Save documents
- Save documents with different file names
- Apply basic text formatting (Bold and Italic)
- Preferences to customize font family and size
- Switch between Light and Dark themes
- Java Development Kit (JDK)
- An Integrated Development Environment (IDE) for Java, such as Eclipse or IntelliJ IDEA
-
Clone the repository:
git clone https://github.com/mardssss/simplenotepad.git Open the project in your Java IDE.
Run the GUI.java file to launch the application.
- Create a new document: Click on "File" > "New" in the menu bar.
- Open an existing document: Click on "File" > "Open" and select a file.
- Save the current document: Click on "File" > "Save."
- Save the document with a different name: Click on "File" > "Save As."
- Customize font family and size: Click on "File" > "Preferences."
- Apply text formatting:
- Select text in the document.
- Click on "Style" in the menu bar and choose "Bold" or "Italic."
You can switch between Light and Dark themes by selecting your preference in the "Preferences" menu.
If you'd like to contribute to this project, please follow these steps:
- Create a new branch for your feature or bug fix: git checkout -b feature/your-feature-name or git checkout -b bugfix/your-bug-fix.
- Commit your changes: git commit -m 'Add new feature' or git commit -m 'Fix a bug'.
- Push your branch: git push origin feature/your-feature-name or git push origin bugfix/your-bug-fix.
- Create a pull request on GitHub.
Acknowledgments This project was made to practice java swing. Special thanks to the Java Swing library for making it possible to create graphical user interfaces in Java.