Releases: EpicGamer4088/CurrencyConverter-JavaFX
Releases · EpicGamer4088/CurrencyConverter-JavaFX
Release list
Version 1.0.0 - Major Initial Stable Release
Currency Converter- JavaFX
A simple currency converter based on JavaFX that retrieves real-time exchange rates using the FreeCurrencyAPI and converts currencies.
Features
- Real-time exchange rates: Fetch the latest exchange rates via FreeCurrencyAPI.
- User-friendly GUI: Select currencies from a dropdown list with full names and abbreviations.
- Cross-platform support:
- Windows: Stores the API key in LocalAppData.
- macOS: Stores the API key in ~/Library/Application Support.
- Linux: Stores the API key in ~/.config.
- Input validation: Validates numeric inputs and supports both dots and commas as decimal separators.
Requirements
- Java 17 or higher
- Maven (for building the project)
Installation
-
Clone the repository:
git clone https://github.com/EpicGamer4088/currency-calculator-javafx.git cd currency-calculator-javafx -
Install dependencies:
mvn clean install
-
Run the project:
mvn javafx:run
-
Provide an API key:
If no API key is found, a window will open where you can enter your API key.
How to get an API key from FreeCurrencyAPI
- Visit the website https://freecurrencyapi.com/.
- Register or log in.
- Go to your dashboard and copy the existing Default API Key.
- Paste the API key into the program's input field when prompted.
Usage
-
Start the program.
-
Select the source and target currency.
-
Enter the amount to be converted.
-
Click "Convert" to see the converted amount.
Project Structure
src/
├── main/
│ ├── java/com/currencycalc/currencycalculatorjavafx/
│ │ ├── App.java // Main application class
│ │ ├── Launcher.java // Launches the JavaFX application
│ │ ├── CurrencyClient.java // Communicates with the FreeCurrencyAPI
│ │ ├── MainController.java // Controls GUI logic
│ │ ├── model/
│ │ │ ├── CurrencyData.java // Data model for API responses
│ │ │ ├── Data.java // Holds exchange rate data
│ │ ├── utils/
│ │ ├── ApiKeyManager.java // Manages the API key
│ │ ├── ApiKeyWindow.java // Window for entering the API key
│ ├── resources/
│ ├── main-view.fxml // GUI layout
License
This project is licensed under the MIT License.
Contact
For questions or issues, please contact tim.platzer@gmx.at.
Full Changelog: https://github.com/EpicGamer4088/CurrencyConverter-JavaFX/commits/v1.0.0




