A fully functional Notepad application built from scratch
using Java Swing & OOP principles β inspired by Windows Notepad.
Made with β€οΈ and weak hands π
| App |
Preview |
| Notepad Clone |
 |
| Feature |
Status |
| New File |
β
|
| Open File |
β
|
| Save File |
β
|
| Save As |
β
|
| Cut / Copy / Paste |
β
|
| Select All |
β
|
| Scrollable Text Area |
β
|
| File Chooser Dialog |
β
|
| Custom Title Bar |
β
|
| Concept |
How It's Used |
| OOP |
Constructor builds entire GUI |
JTextArea |
Main text editing area |
JScrollPane |
Wraps textArea for scrolling |
JMenuBar |
Top menu bar |
JMenu |
File & Edit menus |
JMenuItem |
Individual menu options |
JFileChooser |
Open & Save file dialogs |
| Modularity |
createMenu() as separate method |
ActionListener |
Handles all menu click events |
| File |
Description |
NotePad.java |
Complete Notepad clone with File & Edit menus |
- Make sure JDK 8+ is installed
- Clone the repo:
git clone https://github.com/laibaazeem3250-ship-it/java-notepad-clone.git
- Open in Eclipse IDE
- Run
NotePad.java
- Start typing β try File β Save! ποΈ
NotePad (JFrame)
βββ JMenuBar
| |
| |
| |
β βββ JMenu (File)
| | |
| | |
β β βββ New
β β βββ Open
β β βββ Save
β β βββ Save As
β β βββ Exit
| |
| |
| |
β βββ JMenu (Edit)
β βββ Cut
β βββ Copy
β βββ Paste
β βββ Select All
|
|
|
βββ JScrollPane
|
|
βββ JTextArea (main editor)
| Date |
What I Built |
| April 7, 2026 |
Full Notepad clone with File & Edit menus |

Laiba Azeem
π CS Student | Building real apps while still learning πͺ
"Lagayen gy tou seekhey gy" β My Professor π
