🧮 Neon Glass & Neon Glow Calculator (Java Swing)
⚡ Project Overview
This repository contains two visually stunning calculator applications built using Java Swing:
- Calculator1 – Neon Glass Edition ➤ Features a translucent glassy effect with glowing borders for each button.
- Calculator2 – Neon Glow Edition ➤ Uses custom painting to create a smooth neon halo glow for a futuristic feel. Both versions are fully functional GUI-based calculators that support basic arithmetic operations and a beautiful modern interface.
✨ Features
- Perform basic arithmetic operations (+, −, ×, ÷)
- Custom neon/glass UI built with Java Swing
- Hover and glow effects for every button
- Color-coded buttons (operators, digits, actions)
- Smooth border animations and responsive design
- Expression evaluation without external libraries
- Clear (C) and Delete (DEL) functionality
- Negate (±) operation support
🖥️ Tech Stack
- Language: Java
- GUI Framework: Java Swing
- IDE nded): IntelliJ IDEA / Eclipse / NetBeans
- No external dependencies
🧩 Files Included
| File | Description |
|---|---|
Calculator1.java |
Neon Glass Calculator with glowing borders and hover animations |
Calculator2.java |
Neon Glow Calculator with custom-painted neon halo and no overlapping UI |
🚀 How to Run
- Clone or download the repository.
- Open the project in your Java IDE.
- Run either file.
🧠 Future Enhancements
- Add keyboard input support
- Include scientific operations (sin, cos, log, etc.)
- Add calculation history
- Toggle between multiple neon color themes