A calculator software based on JavaFX
It focuses on:
- style (switch the calculator button style)
- Multifunction (Multiple calculation mode options)
- Cross-platform (It supports three major platforms: GNU/Linux, Windows and macOS)
To build Calculator, make sure that the following tools or libraries are available on your Windows, Linux or macOS system:
- openjdk: 1.8.0
- Maven: 3.8.1
We assume that you are using IntelliJ IDEA
First pull the code in IntelliJ IDEA, you can copy to use this code
git clone https://github.com/Luke-Skywalker-Xu/Calculator.git
Step:
- File -> Projects Structure
- Project Settings -> Artifacts - > + (Add) -> JavaFx Application -> From Module'Calculator' -> JavaFx
JavaFx configuration (required)
- Application class -> MainApplication(org.luke) -> OK
- Title: Calculator
- Native bundle: all
- Apply
- File -> Projects Structure
- Project Settings -> Artifacts - > + (Add) -> JavaFx Application -> From Module'Calculator' -> JavaFx
- Build -> Build Artifacts... -> Calculator -> Build
After the build is complete, the executable file path: out/artifacts/Calculator/bundles/Calculator
Then double-click the calculator in the file to run the software
You can directly use my compiled executable program:
At present, only executable programs for windows and linux platforms are provided. If you need executable programs for MacOS platforms. compile it yourself Compile it yourself