Skip to content

AlexisLoya/java-swing-conversor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

banner

Unit Converter

This repository contains a Java Swing application that provides an easy-to-use interface for converting various units, including length, temperature, and currency.

Table of Contents

Features

The application includes the following conversion panels:

  1. Length Converter
  2. Temperature Converter
  3. Currency Converter

Length Converter

The length converter allows users to convert between different length units, including:

  • Millimeters
  • Centimeters
  • Meters
  • Kilometers
  • Inches
  • Feet
  • Yards
  • Miles

Users can input a length value and select the input and output units to perform the conversion.

Temperature Converter

The temperature converter allows users to convert between different temperature units, including:

  • Celsius
  • Fahrenheit
  • Kelvin

Users can input a temperature value and select the input and output units to perform the conversion.

Currency Converter

The currency converter allows users to convert between different currencies, including:

  • US Dollar
  • Mexican Peso
  • British Pound
  • Euro
  • Japanese Yen

The application fetches the latest currency exchange rates from the Exchange Rates API. Users can update the exchange rates manually by clicking the "Update Rates" button.

Users can input an amount and select the input and output currencies to perform the conversion.

Requirements

  • Java JDK 8 or later

Installation

  1. Clone the repository:
git clone https://github.com/username/unit-converter.git
  1. Open the project in your favorite Java IDE (e.g., IntelliJ IDEA, Eclipse).

  2. Compile and run the Main class.

Usage

  1. Run the application.
  2. Use the tabs at the top to navigate between the different conversion panels.
  3. Input the value you want to convert and select the input and output units/currencies.
  4. Click the "Convert" button to perform the conversion.
  5. The result will be displayed in the output field.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue to report bugs or request new features.

License

This project is released under the MIT License.

Releases

No releases published

Packages

No packages published

Languages