Skip to content

MBane04/VolumeCalculatorwithGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

Shape Calculator

Overview

The Shape Calculator is a Java-based application built using the Swing API that allows users to calculate various properties of 2D and 3D shapes. Whether you're interested in finding the area of a rectangle, the volume of a sphere, or the surface area of a cylinder, this application provides a user-friendly interface for all your geometric calculations.

Features

  • 2D Shapes:

    • Rectangle
    • Circle
    • Triangle
    • Polygon
  • 3D Shapes:

    • Sphere
    • Cube
    • Cylinder
    • Cone
  • Interactive UI: Easy-to-use graphical interface built with Swing.

  • Instant Calculations: Get real-time results as you input dimensions.

  • Shape Selection: Choose from a list of shapes to calculate.

  • Validation: Input validation to ensure accurate calculations.

Requirements

  • Java Development Kit (JDK) 8 or higher
  • IDE (Optional but recommended): IntelliJ IDEA, Eclipse, or NetBeans

Getting Started

Clone the Repository

git clone https://github.com/yourusername/shape-calculator.git
cd shape-calculator

'''

## Build and Run

1. **Compile the Application**: Open your terminal or command prompt in the project directory and compile the Java files.

   ```bash
   javac -d bin src/*.java

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages