A Java GUI application that allows users to perform basic arithmetic operations on numbers.
-
Supports operations like:
-
- Sum two numbers
-
- Invert a number
-
- Find the largest and smallest numbers
-
- Count even numbers in an array
-
Uses Swing (MainJFrame.java) for the graphical user interface
-
Displays calculated results in the GUI
📂 Arithmetic_Operations_GUI ├── 📂 src │ ├── 📂 pkg00825_luisalonsocendra_tarea1 │ │ ├── Main.java # Entry point │ │ ├── MainJFrame.java # GUI with arithmetic operations ├── 📂 build # Compiled Java classes (ignored in Git) ├── 📂 dist # Packaged JAR file (ignored in Git) ├── build.xml # Apache Ant build file ├── manifest.mf # Manifest file for JAR packaging ├── .gitignore # Ignore compiled files, NetBeans configs ├── README.md # Project documentation
Prerequisites
- Java Development Kit (JDK) 8 or later
- Apache Ant (for building the project)
- NetBeans (optional for development)
- Clone this repository:
git clone https://github.com/yourusername/Arithmetic_Operations_GUI.git cd Arithmetic_Operations_GUI - Compile and run using NetBeans or command line:
javac -d bin src/pkg00825_luisalonsocendra_tarea1/*.java java -cp bin pkg00825_luisalonsocendra_tarea1.Main
This project is licensed under the MIT License.