A simple Java Swing application for converting temperatures between Celsius, Fahrenheit, and Kelvin.
This application provides a user-friendly interface to convert temperatures between Celsius, Fahrenheit, and Kelvin. It allows users to input a temperature in one unit and instantly view the converted temperature in the other units. Additionally, the application provides options to clear the input fields and exit the program.
- Convert temperatures between Celsius, Fahrenheit, and Kelvin.
- Input and output fields for temperature values.
- Clear button to reset input and output fields.
- Exit button to close the application.
- Enter a temperature value in the input field.
- Select the desired conversion option from the available buttons.
- View the converted temperature in the output field.
- Optionally, click the "Clear" button to reset the input and output fields.
- To exit the application, click the "Exit" button or close the window.
- Java Swing for GUI components.
- Make sure you have Java installed on your system.
- Compile the
Main.java
file using the Java compiler.javac Main.java
- Run the compiled class file.
java Main
- The Temperature Converter window will appear, allowing you to perform temperature conversions.