Skip to content

Temperature Converter: A Java program with a graphical user interface (GUI) that allows users to input a temperature value in Celsius, Fahrenheit, or Kelvin and converts it into the other two units, displaying the converted values for easy temperature conversion

Notifications You must be signed in to change notification settings

chinmoy1809/PRODIGY_SD_01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

PRODIGY_SD_01

Build a Temperature Conversion Program

A Java program with a graphical user interface (GUI) that allows users to input a temperature value in Celsius, Fahrenheit, or Kelvin and converts it into the other two units, displaying the converted values for easy temperature conversion.

Methods used in the Program :

  1. This program creates a graphical user interface (GUI) in Java using Swing.

  2. This class extends JFrame, which allows user to create a window-based application.

  3. Various Swing Components used and Configured :

    --> JLabel: Displays text labels on the GUI.

    --> JTextField: Allows users to input data (temperature).

    --> JComboBox: Provides a dropdown menu for selecting the unit of temperature.

    --> JButton: Triggers the conversion process.

    --> ActionListener: Defines the action to perform when the button is clicked.

About

Temperature Converter: A Java program with a graphical user interface (GUI) that allows users to input a temperature value in Celsius, Fahrenheit, or Kelvin and converts it into the other two units, displaying the converted values for easy temperature conversion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages