Skip to content

devmique/Java-Calculator-GUI-with-Binary-Oct-Hex-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧮 Java Calculator GUI with Binary, Octal & Hex Converter + Dark Mode

An interactive Java Calculator built with Swing (NetBeans GUI Builder) and styled using FlatLaf.
This project supports basic arithmetic, number system conversions (Binary, Octal, Hexadecimal), and includes a Dark/Light Theme Toggle for a sleek and modern user experience.


✨ Features

Basic Arithmetic Operations

  • Addition (+)
  • Subtraction (-)
  • Multiplication (×)
  • Division (÷)

Number System Converter

  • Convert Decimal → Binary, Octal, or Hexadecimal with one click.

Backspace Function

  • Easily remove the last input digit.

On/Off Function

  • Disable and enable buttons.

Dark Mode Toggle

  • Instantly switch between Light and Dark themes using FlatLaf.

Built in NetBeans

  • Fully designed using the NetBeans GUI Builder (Swing).

🧠 Technologies Used

Component Description
Language Java
UI Framework Swing
Look & Feel FlatLaf
IDE Apache NetBeans

⚙️ Setup Instructions

1. Clone the Repository

git clone https://github.com/devmique/Java-Calculator-GUI-with-Binary-Oct-Hex-Converter.git

⚙️ Setup Guide (NetBeans Instructions)

🧩 2. Open in NetBeans

  1. Launch Apache NetBeans IDE.
  2. Go to File → Open Project.
  3. Navigate to the folder where you cloned or saved this project:
  4. Select the folder and click Open Project.
    ✅ Your project will now appear in the NetBeans "Projects" panel.

🎨 3. Add FlatLaf Library

To enable the Dark/Light theme toggle, you must add the FlatLaf library:

  1. Download the FlatLaf JAR file here:
    👉 flatlaf-3.4.1.jar (Download)

  2. In NetBeans, right-click your project name in the sidebar → Properties

  3. Navigate to Libraries → click Add JAR/Folder

  4. Locate and select the downloaded flatlaf-3.4.1.jar

  5. Click Open → then OK to save changes

✅ FlatLaf is now successfully added to your project.


▶️ 4. Run the Project

You can now launch the calculator directly from NetBeans:

  • Click the Run ▶️ button on the toolbar, or
  • Press Shift + F6 on your keyboard.

The GUI Calculator should now appear.
Use the Dark Mode toggle button to switch between Light and Dark themes 🌙☀️.


Screen Shot 2025-10-24 at 7 52 07 PM Screen Shot 2025-10-24 at 7 52 19 PM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages