๐Ÿงฎ Java Basic Math Tools

Comprehensive Mathematical Suite with 15 Powerful Tools

๐Ÿ“‹ Project Overview

Java Basic Math Tools is a comprehensive, all-in-one mathematical and utility suite built with Java Swing. This application features 15 powerful tools wrapped in a professional, high-contrast dark theme with vibrant red accents. The project was developed in 2026 by Molla Samser and designed by Rima Khatun.

๐ŸŽจ Professional UI: Dark theme with red accents inspired by rskworld.in
โšก Performance: Optimized UI engine for lag-free interaction
๐Ÿ› ๏ธ 15 Tools: Complete mathematical toolkit
โŒจ๏ธ Shortcuts: Keyboard navigation support
๐Ÿ“š History: Track all calculations
๐Ÿ”„ Cross-Platform: Java-based, runs anywhere

๐Ÿš€ Quick Start Guide

Prerequisites

Installation & Running

Step 1: Compile the Application

javac -d bin src/main/java/com/rskworld/mathtools/*.java src/main/java/com/rskworld/mathtools/panels/*.java src/main/java/com/rskworld/mathtools/utils/*.java

Step 2: Run the Application

java -cp bin com.rskworld.mathtools.Main
๐Ÿ’ก Pro Tip:

You can create a batch file (.bat on Windows, .sh on Linux/Mac) with the run command for easy launching.

๐Ÿ› ๏ธ Available Tools

๐Ÿงฎ Calculator

Basic and scientific calculator with operations: +, -, ร—, รท, โˆš, xยฒ, ยฑ

Example: 15 + 27 = 42

๐Ÿ“ Unit Converter

Convert between length, weight, temperature, and volume units

Example: 100 cm = 1 m

๐Ÿ”ข Number System

Convert between Decimal, Binary, Hexadecimal, and Octal

Example: Decimal 42 = Binary 101010

๐Ÿ“ Equation Solver

Solve linear and quadratic equations

Example: xยฒ + 5x + 6 = 0 โ†’ (x+2)(x+3) = 0

๐Ÿ“Š Statistics

Calculate mean, median, mode, variance, standard deviation

Example: Data: 1,2,3,4,5 โ†’ Mean: 3.00

๐Ÿ’ฐ Financial

EMI, Simple Interest, and Compound Interest calculations

Example: Principal: $1000, Rate: 5%, Time: 1yr โ†’ SI: $50

๐Ÿ“ Geometry

Area and volume calculations for 2D/3D shapes

Example: Circle radius 5 โ†’ Area: 78.54

๐Ÿ”ข Matrix Calculator

3x3 matrix operations: addition, subtraction, multiplication

Example: Matrix A ร— Matrix B

๐Ÿ” Prime Tools

Primality testing, factorization, and prime number generation

Example: Is 17 prime? Yes

โš–๏ธ BMI Calculator

Calculate Body Mass Index and health status

Example: Height: 170cm, Weight: 70kg โ†’ BMI: 24.2 (Normal)

๐Ÿ” Password Generator

Create secure, randomized passwords

Example: Generate 12-character secure password

๐Ÿ“… Age Calculator

Calculate exact age in years, months, and days

Example: Born: 1990-01-01 โ†’ Age: 36 years, 0 months, 23 days

๐Ÿ’ผ GST Calculator

Fast Goods and Services Tax calculations

Example: Amount: $100, GST: 18% โ†’ Total: $118

๐Ÿ“ˆ Function Plotter

Dynamic graphing of quadratic functions

Example: Plot y = xยฒ + 2x + 1

๐Ÿ“ History

Track and review all your calculations

Example: View all previous calculations with timestamps

โŒจ๏ธ Keyboard Shortcuts

F1 - F12 Direct access to the first 12 tools
F13 GST Calculator
F14 Function Plotter
F15 History Panel

๐Ÿ“– Detailed Usage Examples

Calculator Tool

Basic Operations:

1. Enter first number (e.g., 15)

2. Click operator (+, -, ร—, รท)

3. Enter second number (e.g., 27)

4. Click "=" to get result (42)

Scientific functions: โˆš (square root), xยฒ (square), ยฑ (negate)

Statistics Tool

Data Input:

Enter numbers separated by commas or spaces: 10, 20, 30, 40, 50

Click "Calculate Statistics" to get:

  • Count: 5
  • Mean: 30.00
  • Median: 30.00
  • Variance: 200.00
  • Standard Deviation: 14.14

Geometry Tool

Shape Calculations:

1. Select shape from dropdown (Circle, Rectangle, Square, etc.)

2. Enter required dimensions

3. Click "Calculate Area/Volume"

Example: Circle with radius 5 โ†’ Area: 78.54, Circumference: 31.42

History Feature

Calculation Tracking:

All calculations are automatically saved to history

Access the History tab to view all previous calculations

Use "Refresh" to update the list, "Clear History" to reset

๐Ÿ—๏ธ Technical Architecture

Project Structure

java-math-tools/ โ”œโ”€โ”€ src/main/java/com/rskworld/mathtools/ โ”‚ โ”œโ”€โ”€ Main.java # Application entry point โ”‚ โ”œโ”€โ”€ MathToolsFrame.java # Main GUI frame with tabbed interface โ”‚ โ”œโ”€โ”€ panels/ # Individual tool panels โ”‚ โ”‚ โ”œโ”€โ”€ CalculatorPanel.java โ”‚ โ”‚ โ”œโ”€โ”€ UnitConverterPanel.java โ”‚ โ”‚ โ”œโ”€โ”€ NumberSystemPanel.java โ”‚ โ”‚ โ”œโ”€โ”€ EquationSolverPanel.java โ”‚ โ”‚ โ”œโ”€โ”€ StatisticsPanel.java โ”‚ โ”‚ โ”œโ”€โ”€ FinancialPanel.java โ”‚ โ”‚ โ”œโ”€โ”€ GeometryPanel.java โ”‚ โ”‚ โ”œโ”€โ”€ MatrixPanel.java โ”‚ โ”‚ โ”œโ”€โ”€ PrimePanel.java โ”‚ โ”‚ โ”œโ”€โ”€ BMIPanel.java โ”‚ โ”‚ โ”œโ”€โ”€ PasswordPanel.java โ”‚ โ”‚ โ”œโ”€โ”€ AgeCalculatorPanel.java โ”‚ โ”‚ โ”œโ”€โ”€ GSTPanel.java โ”‚ โ”‚ โ”œโ”€โ”€ PlotterPanel.java โ”‚ โ”‚ โ””โ”€โ”€ HistoryPanel.java โ”‚ โ””โ”€โ”€ utils/ # Utility classes โ”‚ โ”œโ”€โ”€ ThemeManager.java # UI theming and styling โ”‚ โ””โ”€โ”€ HistoryManager.java # Calculation history management โ”œโ”€โ”€ bin/ # Compiled class files โ”œโ”€โ”€ README.md # Project documentation โ”œโ”€โ”€ LICENSE # MIT License โ””โ”€โ”€ index.html # This documentation file

Key Classes

Dependencies

๐ŸŽจ UI Theme Details

// Theme Color Scheme Background: RGB(20, 20, 20) // Deep charcoal Panel BG: RGB(30, 30, 30) // Dark gray Accent Red: RGB(255, 50, 50) // Bright red Text: RGB(255, 255, 255) // Pure white Input BG: RGB(45, 45, 45) // Medium gray Button BG: RGB(60, 60, 60) // Light gray

Features:

๐Ÿ”ง Development Notes

Building from Source

# Create bin directory mkdir bin # Compile all Java files javac -d bin -cp src src/main/java/com/rskworld/mathtools/*.java src/main/java/com/rskworld/mathtools/panels/*.java src/main/java/com/rskworld/mathtools/utils/*.java # Run the application java -cp bin com.rskworld.mathtools.Main

Code Quality

๐Ÿ‘จโ€๐Ÿ’ป Credits & License

๐Ÿš€ Developer

Molla Samser

Java Developer & Software Engineer

๐ŸŽจ Designer & Tester

Rima Khatun

UI/UX Designer & Quality Assurance

๐ŸŒ Website

rskworld.in

Project Homepage & Portfolio

๐Ÿ“œ License

MIT License Copyright (c) 2026 Molla Samser (rskworld.in) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Year: 2026
Version: 1.0.0
Platform: Cross-platform (Java)