A simple Java-based GUI application that converts temperatures from Fahrenheit to Celsius. Users can input a temperature in Fahrenheit, click the CONVERT button, and the equivalent Celsius temperature is displayed.
- 
User-Friendly GUI: Built with Java Swing for a clean and simple interface. 
- 
Temperature Conversion: Converts Fahrenheit to Celsius using the formula: [ C = (F - 32) \times \frac{5}{9} ] 
- 
Placeholder Text: Input fields include placeholder text for guidance. 
- 
Icons: Displays Fahrenheit and Celsius icons for better UX (stored in the resources/folder).
- Main class that runs the temperature conversion GUI application.
- GUI Elements:
- tField1: Text field for user input (Fahrenheit).
- tField2: Text field for displaying the result (Celsius).
- CONVERTbutton: Triggers the conversion.
 
- ActionListener: Converts temperature on button click. Displays an error message for invalid input.
- Handles placeholder text in text fields.
- apply(): Sets placeholder text, removes it on focus, and restores it if the field is empty.
- Loads Fahrenheit and Celsius icons.
- loadIcon(): Loads and scales icons from the resources/folder.
- getFahrenheitIcon() & getCelsiusIcon(): Return the respective icons.
- 
Clone the Repository: git clone <repository-url> 
- 
Ensure Dependencies This project uses Java Swing, included in the JDK. No additional dependencies are required. 
- 
Resources Folder Ensure the resources/folder contains the icons:
- fahrenheit.png
- celsius.png
Execute the FToC class. A window will appear with a text field for Fahrenheit input.
Type a temperature in Fahrenheit (e.g., 100) in the first text field.
The equivalent Celsius temperature will appear in the second text field.
Input:
Temperature in °F: 100
Output:
Result in °C: 37.78 °C